On Thu, 19 Apr 2012 10:46:20 +0200
Marc Weustink <[email protected]> wrote:

>[...]
> >>> 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.
> >>
> >> Who has added this ? Delphi has no OnPaint event.
> >>
> >> Yes, if we have an event, we should provide a way to paint.
> >> But to me this is a can of worms, since stretching is handled internally
> >> while the user event draws on the canvas, independent of the stretching.
> >> If you ask me, I wouldn't have added it.
> >
> > I don't see many worms in the can, so I made it public.
> > It's a useful feature that costs us not much.
> 
> On scaled images there is no way to tell which source pixel corresponds 
> to a destination pixel.

So?

Mattias

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

Reply via email to