[Lazarus] TBitmap magnifying glass effect

Leonardo M. Ramé l.rame at griensu.com
Fri Nov 26 13:45:35 CET 2010


On 2010-11-26 13:43:17 +0100, Felipe Monteiro de Carvalho wrote:
> 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
> 

Thanks Felipe, could you show me an example or point me to an url that
shows how to do it?

-- 
Leonardo M. Ramé
http://leonardorame.blogspot.com




More information about the Lazarus mailing list