Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » How to rotate figure.
How to rotate figure. [message #236513] Fri, 29 June 2007 17:12 Go to next message
Eclipse UserFriend
Originally posted by: apexgroup07.gmail.com

Hello All,

I want the rotating features for Rectangle, Ellipse feature in my application.

Please help me to solve this challenge.


Thanks
Rohit Khariwal
Re: How to rotate figure. [message #236867 is a reply to message #236513] Mon, 09 July 2007 04:23 Go to previous message
Eclipse UserFriend
Originally posted by: prasenjit.d.tcs.com

Rotating figures can be difficult in GEF. Some of the figures like text,
images and ellipse can only be rotated by 90 degrees. Others can be
rotated, but you have to code a lot for it. In our project, what we have
done is we have replaced all figures (apart from the three mentioned
above) with polylines. Then it is just a matter of manipulating the points
based on the input angle.Not sure if this strategy will be applicable for
your requirement
Previous Topic:EditPart won't get triggered
Next Topic:Hovered Figure/EditPart
Goto Forum:
  


Current Time: Thu Apr 25 01:39:12 GMT 2024

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

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

Back to the top