[Lazarus] TBitmap magnifying glass effect

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Fri Nov 26 13:43:17 CET 2010


On Fri, Nov 26, 2010 at 2:39 AM, Leonardo M. Ramé <l.rame at griensu.com> wrote:
> Hi, I'm can anyone point me to an example on how to do a simple
> magnifying glass over a TImage?.
>
> What I want to do is to draw a zoomed area over a TImage at mouse position, then, when I move
> the mouse, the area is updated showing the new position, just like
> Virtual Magnifying Glass, but for TImages/TBitmap.

I think that TImage is the wrong choice for the job. I would go for a
TCustomControl descendent, just like VMG does.

-- 
Felipe Monteiro de Carvalho




More information about the Lazarus mailing list