|
Re: Clipping problem after rotation [message #1715274 is a reply to message #1714676] |
Fri, 20 November 2015 17:57 |
|
In general, Figure does not handle rotations properly. You will have to overwrite paintClientArea() and probably also paintChildren() to address the clipping issue. Be aware that there are other implications as well. The figure's bounds will also not be correct unless you adjust them properly. There is a proposed contribution related to a rotated rectangle (https://bugs.eclipse.org/bugs/show_bug.cgi?id=117012). Maybe that can give you a start.
If you have just started to use GEF, I would recommend to use GEF4 instead. There, such kind of things are pretty easily achieved (actually they work out of the box).
|
|
|
Powered by
FUDForum. Page generated in 0.02621 seconds