|Re: BendpointEditPolicy - incorrect location after zooming [message #1012447 is a reply to message #1012382]
||Thu, 21 February 2013 10:18
| Jan Krakora
Registered: December 2009
Looking at the Bendpoint interface, there is written "A bendpoint returns a point relative to the connection figure on which it is being used."|
The getLocation() method of the BendpointRequest returns always absolute coordinates. Absolute means relative to the canvas.
So Calling connection.translateToRelative(location) should change the location according to the actual zoom, scroll or whatever.
Coordinate transformation is dark space for me too. take a look at this http://www.eclipsezone.com/eclipse/forums/t46584.html
By the way, I don't think the bug you filed is actually a bug. The returned location is just in absolute coordinates.
[Updated on: Thu, 21 February 2013 10:20]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.06041 seconds