PlanetSquires Forums

Support Forums => José Roca Software => Topic started by: hajubu on November 05, 2025, 01:57:05 PM

Title: CGpImageAttributes.inc line 202 / line 211
Post by: hajubu on November 05, 2025, 01:57:05 PM
Hi - seems that "any PTR has" to follow the the changes to "GpColorMap PTR"  CDgiPlus.inc
  in  DECLARE FUNCTION of  SetRemapTable / SetBrushRemapTable (line 247 / 248)

Therefore this should help
line 202

PRIVATE FUNCTION CGpImageAttributes.SetRemapTable (BYVAL mapSize AS UINT, BYVAL map AS /' ANY PTR '/ GpColorMap PTR, BYVAL nType AS ColorAdjustType = ColorAdjustTypeDefault) AS GpStatus

and 211

PRIVATE FUNCTION CGpImageAttributes.SetBrushRemapTable (BYVAL mapSize AS UINT, BYVAL map AS /' ANY PTR '/ GpColorMap PTR) AS GpStatus

b.r.
Title: Re: CGpImageAttributes.inc line 202 / line 211
Post by: José Roca on November 05, 2025, 05:06:21 PM
It is a leftover when I used the official FreeBasic headers, that are a truly mess. I'm going to remove these comments because no longer apply, since now I use my own headers. Thanks for reporting it.
Title: Re: CGpImageAttributes.inc line 202 / line 211
Post by: José Roca on November 05, 2025, 05:15:15 PM
I'm putting much effort im that huge api because I intend to use it in conjuntion with my CPrint class for printing, instead of the old GDI.

If you notice flaws in the documentation, please report it. To document about 600 methods (the classes) or functions (the flat api), most of them with usage examples, requires a lot of copy and paste and there must have errors.