Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Scaling along 'x' axis only
Scaling along 'x' axis only [message #223081] Tue, 19 September 2006 10:07 Go to next message
Eclipse User
Originally posted by: kristine.gmail.com

Hey !

I want to add scaling or zoom support to my display. The basic zoom
feature provided by Eclipse GEF scales figures along both 'x' and 'y'
axis. Whereas, I want to do it only along 'x' axis. Can some one please
give me any idea how to make the display scale only horizintally ?

Thanks !
Kristine
Re: Scaling along 'x' axis only [message #223195 is a reply to message #223081] Wed, 20 September 2006 20:34 Go to previous messageGo to next message
Eclipse User
Originally posted by: none.unknown.com

All the scaling is done in ScaledGraphics. You'd have to create a similar
subclass of SWTGraphics that only scales in one direction.

"Kristine" <kristine@gmail.com> wrote in message
news:a751792a10ad408ee0973f52db94de15$1@www.eclipse.org...
> Hey !
>
> I want to add scaling or zoom support to my display. The basic zoom
> feature provided by Eclipse GEF scales figures along both 'x' and 'y'
> axis. Whereas, I want to do it only along 'x' axis. Can some one please
> give me any idea how to make the display scale only horizintally ?
>
> Thanks !
> Kristine
>
Re: Scaling along 'x' axis only [message #223272 is a reply to message #223195] Fri, 22 September 2006 02:18 Go to previous message
Eclipse User
Originally posted by: kristine.indiatimes.com

Hey Pratik

Thanks a lot for the response. I think I may now be able to do something
with it. But I will trouble you again if I will face some other problems.

Thanks & Regards,
Keya
Previous Topic:[announce] GEF 3.2.1 Maintenance Release Build available
Next Topic:No more handles Exception - Please need help
Goto Forum:
  


Current Time: Thu Jul 24 16:15:11 EDT 2014

Powered by FUDForum. Page generated in 0.02880 seconds