Skip to main content



      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 07: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 11:35 Go to previous message
Eclipse UserFriend
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: Sat May 10 08:50:20 EDT 2025

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

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

Back to the top