Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Non-centeric Zoom(Zoom-in on mouse cursor instead of viewer center)
Non-centeric Zoom [message #551973] Tue, 10 August 2010 07:26 Go to next message
Chris  is currently offline Chris
Messages: 44
Registered: April 2010
Member
Hi,

is there a way to tell the ZoomManager that it should zoom-in on the mouse position instead of the center of the viewer area?

Regards,
Chris
Re: Non-centeric Zoom [message #551985 is a reply to message #551973] Tue, 10 August 2010 08:14 Go to previous messageGo to next message
h1055071 is currently offline h1055071
Messages: 335
Registered: July 2009
Senior Member
On 10/08/2010 12:26, Chris wrote:
> Hi,
>
> is there a way to tell the ZoomManager that it should zoom-in on the
> mouse position instead of the center of the viewer area?
>
> Regards,
> Chris

Perhaps you could extend the ZoomManager class?

I notice an interesting method there: setViewLocation(Point p)
Re: Non-centeric Zoom [message #557429 is a reply to message #551973] Tue, 07 September 2010 07:54 Go to previous message
Chris  is currently offline Chris
Messages: 44
Registered: April 2010
Member
Thanks, if I come up with something, I'll post the code.

Regards,
Chris
Previous Topic:[Announce] Modeling Classes - Sep. 20 - Nov. 5
Next Topic:GEF stencil and layout capabilities
Goto Forum:
  


Current Time: Thu Jul 24 04:32:16 EDT 2014

Powered by FUDForum. Page generated in 0.02851 seconds