@Lainz, in my case, bgrabitmap is not yet involved at all. So I’d need – first – to replace a toolbutton text rendering using DrawTextW by a bgrabitmap operation … should be no mystery though regarding the link mentioned above. I’ll give it a try.
----
… and did run into the need for more deep-digging here: Picked up the zipfile from
https://github.com/bgrabitmap/bgrabitmap/releases/tag/v11.5.8expanded the subdir “bgrabitmap” into my project (Laz 3.0 x64 Win 10) and included it in the path’s option, as well as “uses BGRABitmap, BGRATextFX” in the use clause.
-> Endless series of compiler errors in libwebp.pas, eg.
libwebp.pas(593,1) Error: Typecast has different size (4 ->
in assignment
libwebp.pas(594,1) Error: Wrong number of parameters specified for call to "<Procedure Variable>"
libwebp.pas(595,1) Error: Wrong number of parameters specified for call to "<Procedure Variable>"
libwebp.pas(596,1) Error: Wrong number of parameters specified for call to "<Procedure Variable>"
etc.
That for sure finally runs out of the current scope here, should be rather a separate topic.
--- EDIT; ok, that's probably due to Mode Delphi, but that's not changeable now
Found solution in:
https://github.com/bgrabitmap/bgrabitmap/issues/235but then there will be other errors ...