|Getting zoom information from inside a ConnectionAnchor [message #234936]
||Tue, 30 June 2009 20:28
Originally posted by: johan.harjono.utoronto.ca|
I had my own custom algorithm to determine where a connection anchor
should be. It works well when the zoom level is 100%, but not when the
zoom level is any less. I need to take the zoom level into consideration
when I calculate the coordinates.
I know I can access the ZoomManager (and hence the zoom info) of the
diagram from any EditPart, but I don't know how to get the zoom info
from inside a ConnectionAnchor (in which I calculate the anchor
coordinates inside its getLocation())
How can a ConnectionAnchor access the zoom information of the diagram?
Powered by FUDForum
. Page generated in 0.02536 seconds