CGpImageAttributes.inc line 202 / line 211

Started by hajubu, November 05, 2025, 01:57:05 PM

Previous topic - Next topic

hajubu

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.

José Roca

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.

José Roca

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.