Hmm. So maybe can I somehow copy fragment of canvas from parent?

For example I have this controls hierarchy:

TForm
   |- TPanel filled with gradient
          |- TCDStaticText or other CD control

And now, in my custom drawer, before I draw e.g static text, I copy
fragment (from position where static text is placed) of parent
background (TPanel) to the bitmap and draw it in static text before
drawing text. This will give us some kind of fake transparent, but it
it is possible then it matches for me.

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to