[Lazarus] Alpha blending in GTK2 under Linux

Marc Weustink marc at dommelstein.nl
Fri Apr 14 21:02:58 CEST 2017



On April 14, 2017 7:35:20 PM GMT+02:00, "Valdas Jankūnas via Lazarus" <lazarus at lists.lazarus-ide.org> wrote:
>Hello,
>
>I working with alpha blending. On QT it works fine. On GTK2 I get 
>"Depth: 24" when executing "GetDescriptionFromDevice(0)" (on QT -> 32).
>
>Why GTK2 "screen" not supports alpha?
>  It is strange because if I load PNG with transparency (image with 
>gradient) into TImage then I clearly can see alpha blending effect on 
>GTK2 when image is diplayed. 

Iirc (its long ago when i implemented it) the alphablending is done by the underlying rawimage implementation 

Marc


More information about the Lazarus mailing list