Skip to main content



      Home
Home » Eclipse Projects » GEF » Transformation on ImageFigure
Transformation on ImageFigure [message #83693] Fri, 13 June 2003 06:41 Go to next message
Eclipse UserFriend
Originally posted by: s_gutz.yahoo.com

I want to do rotation and other tranformations on an ImageFigure. I see the
Transform class but I can't find any docs regarding its use. Anyone have
any sample code or insight on how to do this?
Re: Transformation on ImageFigure [message #83709 is a reply to message #83693] Fri, 13 June 2003 08:06 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: s_gutz.yahoo.com

Actually, how do you rotate any shape?

"Steve Gutz" <s_gutz@yahoo.com> wrote in message
news:bcc9nq$vde$1@rogue.oti.com...
> I want to do rotation and other tranformations on an ImageFigure. I see
the
> Transform class but I can't find any docs regarding its use. Anyone have
> any sample code or insight on how to do this?
>
>
Re: Transformation on ImageFigure [message #83738 is a reply to message #83709] Fri, 13 June 2003 10:47 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: delee.EYEbm.com

See thread "Rotate figures" on 1/20.
"javaman" <s_gutz@yahoo.com> wrote in message
news:bcceoq$42h$1@rogue.oti.com...
> Actually, how do you rotate any shape?
>
> "Steve Gutz" <s_gutz@yahoo.com> wrote in message
> news:bcc9nq$vde$1@rogue.oti.com...
> > I want to do rotation and other tranformations on an ImageFigure. I see
> the
> > Transform class but I can't find any docs regarding its use. Anyone
have
> > any sample code or insight on how to do this?
> >
> >
>
>
Re: Transformation on ImageFigure [message #83783 is a reply to message #83738] Fri, 13 June 2003 13:02 Go to previous message
Eclipse UserFriend
Essentially, there is no support in SWT for rotating graphics primitives. If
you have a simple shape like a rectangle, you can use Polygon instead and
translate the individual points to rotate it.

Eric


Dan Lee wrote:

> See thread "Rotate figures" on 1/20.
> "javaman" <s_gutz@yahoo.com> wrote in message
> news:bcceoq$42h$1@rogue.oti.com...
>
>>Actually, how do you rotate any shape?
>>
>>"Steve Gutz" <s_gutz@yahoo.com> wrote in message
>>news:bcc9nq$vde$1@rogue.oti.com...
>>
>>>I want to do rotation and other tranformations on an ImageFigure. I see
>>
>>the
>>
>>>Transform class but I can't find any docs regarding its use. Anyone
>
> have
>
>>>any sample code or insight on how to do this?
>>>
>>>
>>
>>
>
>
Previous Topic:Question about LightweightSystem use
Next Topic:question about setpropertyvaluecommand
Goto Forum:
  


Current Time: Mon Apr 28 05:11:06 EDT 2025

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

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

Back to the top