Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Zooming in one direction
Zooming in one direction [message #231956] Wed, 21 March 2007 12:34 Go to next message
Manuel Selva is currently offline Manuel SelvaFriend
Messages: 189
Registered: July 2009
Location: Grenoble, France
Senior Member
Hi all,

I am looking a way to zoom in only one direction a Draw2D chart. After
having a look at ScaledGraphics class it seems that what i should do is
just to rewrite this class only taking into account XZooming for example.
Does such a class already exists or is there one other way to achieve one
direction zooming ?

Thanks

Manuel Sleva


Re: Zooming in one direction [message #231986 is a reply to message #231956] Thu, 22 March 2007 03:12 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.unknown.com

You have the right idea of how to do it, but such a class doesn't already
exist in GEF. Somebody was asking about the same thing a while back, so you
can search for it.

"Manuel Selva" <manuel.selva@st.com> wrote in message
news:133134d3adc8fba0c1861d662bba6069$1@www.eclipse.org...
> Hi all,
>
> I am looking a way to zoom in only one direction a Draw2D chart. After
> having a look at ScaledGraphics class it seems that what i should do is
> just to rewrite this class only taking into account XZooming for example.
> Does such a class already exists or is there one other way to achieve one
> direction zooming ?
>
> Thanks
>
> Manuel Sleva
>
Re: Zooming in one direction [message #233505 is a reply to message #231986] Wed, 25 April 2007 21:54 Go to previous message
Eclipse UserFriend
Originally posted by: irbull.cs.uvic.ca

I'm not sure if you still need this, but if you do let me know. I have
written an XYScaledGraphics which lets you zoom the X and Y independently.

cheers,
ian

Pratik Shah wrote:
> You have the right idea of how to do it, but such a class doesn't already
> exist in GEF. Somebody was asking about the same thing a while back, so you
> can search for it.
>
> "Manuel Selva" <manuel.selva@st.com> wrote in message
> news:133134d3adc8fba0c1861d662bba6069$1@www.eclipse.org...
>> Hi all,
>>
>> I am looking a way to zoom in only one direction a Draw2D chart. After
>> having a look at ScaledGraphics class it seems that what i should do is
>> just to rewrite this class only taking into account XZooming for example.
>> Does such a class already exists or is there one other way to achieve one
>> direction zooming ?
>>
>> Thanks
>>
>> Manuel Sleva
>>
>
>
Previous Topic:Coordinate of drop event relative to Figure
Next Topic:MultiPageEditorPart and Actions
Goto Forum:
  


Current Time: Mon Oct 25 00:52:26 GMT 2021

Powered by FUDForum. Page generated in 0.01627 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top