Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Perpendicularity
Perpendicularity [message #214003] Wed, 12 April 2006 10:42 Go to next message
Eclipse UserFriend
Originally posted by: address.starts.after.hyphen-martin.umgeher.joanneum.at

Hi,

why is everything in GEF/Draw2D perpendicular? Everything that rotates
something does so in 90° steps (or doesn't work at all because it's not
implemented). I am just wondering, is a more flexible support for
rotating really not needed? Because I would need it and thus have to do
lots of stuff manually. Therefor I'd like to know if this is on purpose,
and why so.

Thanks,
M
Re: Perpendicularity [message #214193 is a reply to message #214003] Thu, 13 April 2006 20:26 Go to previous messageGo to next message
Steven R. Shaw is currently offline Steven R. ShawFriend
Messages: 128
Registered: July 2009
Senior Member
The intent of GEF is a framework for creating graphical editors. As such,
the framework provides the basic needs of these editors. Most editors
display text for instance in 90 degree increments.

Clients are free to extend the framework for their custom requirements such
as high granularity rotation capability. Any contributions for this would
could be gladly considered in the next release.

-Steve



"martin" <address.starts.after.hyphen-martin.umgeher@joanneum.at> wrote in
message news:e1illn$ic8$1@utils.eclipse.org...
> Hi,
>
> why is everything in GEF/Draw2D perpendicular? Everything that rotates
> something does so in 90
Re: Perpendicularity [message #214210 is a reply to message #214193] Thu, 13 April 2006 20:45 Go to previous message
Steven R. Shaw is currently offline Steven R. ShawFriend
Messages: 128
Registered: July 2009
Senior Member
btw: there is an api on SWTGraphics for supporting various rotation degrees.
This utilizes the advanced graphics support in SWT.

@see SWTGraphics#rotate(float desgrees)

-Steve

"Steven Shaw" <steveshaw@ca.ibm.com> wrote in message
news:e1mc0l$dth$1@utils.eclipse.org...
> The intent of GEF is a framework for creating graphical editors. As such,
> the framework provides the basic needs of these editors. Most editors
> display text for instance in 90 degree increments.
>
> Clients are free to extend the framework for their custom requirements
such
> as high granularity rotation capability. Any contributions for this would
> could be gladly considered in the next release.
>
> -Steve
>
>
>
> "martin" <address.starts.after.hyphen-martin.umgeher@joanneum.at> wrote in
> message news:e1illn$ic8$1@utils.eclipse.org...
> > Hi,
> >
> > why is everything in GEF/Draw2D perpendicular? Everything that rotates
> > something does so in 90
Previous Topic:What’s New for Callisto?
Next Topic:How to implement multiple ConnectionAnchors for an EditPart?
Goto Forum:
  


Current Time: Wed Jan 22 10:52:30 GMT 2025

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

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

Back to the top