[Lazarus] Canvas cannot draw properly if has an alpha channel?

Ondrej Pokorny lazarus at kluug.net
Wed Apr 25 06:12:17 CEST 2018


On 25.04.2018 2:35, Anthony Walter via Lazarus wrote:
> I'm not sure, but I think all TCanvas drawing operations on graphic 
> objects with a pf32bit pixel format don't work. Essentially that are 
> read only surfaces. Is this intended and a won't fix problem or is 
> there a chance someone is willing to fix this problem?

You have 2 options to overcome this problem:
1.) Use a decent Graphics library. E.g. Graphics32.
2.) Use FPC graphics classes/functions without the LCL overhead.

Ondrej


More information about the Lazarus mailing list