Flip and rotate display [message #152448] |
Wed, 29 September 2004 19:48 |
Eclipse User |
|
|
|
Originally posted by: kvdijken.tiscali.nl
Hello,
I want to be able to rotate and flip the display of a GEF editor with a
ScrollingGraphicalViewer and ScalableFreeformRootEditPart, so only display
movement, no coordinate changes of Figures.
Could the following method work ?
subclass ScalableFreeformRootEditPart, with a subclassed FreeformViewport,
which uses a final user settable transformation in its translateXXX methods
or are there hidden caveats. I only need to display polygons, polylines and
ellipses.
Koen van Dijken
|
|
|
Re: Flip and rotate display [message #152457 is a reply to message #152448] |
Wed, 29 September 2004 21:32 |
Eclipse User |
|
|
|
Originally posted by: none.us.ibm.com
The translate methods are not called when painting. Only when converting to
and from absolute coordinates.
"Koen van Dijken" <kvdijken@tiscali.nl> wrote in message
news:cjf39o$ecr$1@eclipse.org...
> Hello,
>
> I want to be able to rotate and flip the display of a GEF editor with a
> ScrollingGraphicalViewer and ScalableFreeformRootEditPart, so only display
> movement, no coordinate changes of Figures.
>
> Could the following method work ?
>
> subclass ScalableFreeformRootEditPart, with a subclassed FreeformViewport,
> which uses a final user settable transformation in its translateXXX
methods
>
> or are there hidden caveats. I only need to display polygons, polylines
and
> ellipses.
>
> Koen van Dijken
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03041 seconds