On Tue, 17 Apr 2012 12:27:09 +0200 Mattias Gaertner <[email protected]> wrote:
> On Tue, 17 Apr 2012 12:12:21 +0200 > Marc Weustink <[email protected]> wrote: > > TImage is not meant to draw to. If you want to custom paint your image, > > use a TPaintbox > > > > A TImage is for display only. > > TImage has a published OnPaint event. Painting some overlays makes > sense. And for this you need to know where the image is on the canvas. This. And to me it looks like this method is officially supported by Lazarus as you can see here: http://wiki.freepascal.org/Developing_with_Graphics#Painting_on_the_volatile_visual_area_of_the_TImage R. -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
