On 2011-04-12 20:18:48 +0200, Krzysztof wrote: > So if you want operate on bitmaps and canvas then maybe it is better to > read about BGRABitmap and do this same things which i'm doing in my > components. This is very interesting class. You can load PNG image to this > class and draw wherever you want similar like with canvas (but with > alpha). Details: > http://wiki.lazarus.freepascal.org/BGRABitmap > and few tutorials (with nice effects): > http://wiki.lazarus.freepascal.org/BGRABitmap_tutorial > This is crossplatform library > You are right Krzysztof, in fact, I adapted my code to BGRABitmap and it worked like a charm.
Just a note. I miss the LoadFromLazResource method, like TPicture. Do you plan to add this feature?. -- Leonardo M. Ramé http://leonardorame.blogspot.com -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
