Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » How to draw a rotated rectangle in Draw2D?
How to draw a rotated rectangle in Draw2D? [message #185328] Fri, 24 June 2005 11:27 Go to next message
Eclipse UserFriend
Originally posted by: wangyuanzju.yahoo.com.cn

Hello!
I'm writing a simple drawing tool which can draws some simple shapes,
such as rectangle, eclipse, etc. The shapes should can be rotated with
the center of rotation being center of the shape. Can anybody tell me
how can I do this.
Re: How to draw a rotated rectangle in Draw2D? [message #185352 is a reply to message #185328] Fri, 24 June 2005 15:35 Go to previous message
Jason Kealey is currently offline Jason KealeyFriend
Messages: 22
Registered: July 2009
Junior Member
Look at the Transform class. You can rotate all of the figure's points.
Previous Topic:GEF hangs my application (and others)
Next Topic:Problems running shapes example with 3.1RC3
Goto Forum:
  


Current Time: Thu Dec 12 17:15:36 GMT 2024

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

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

Back to the top