Arcs between connections [message #143129] |
Sun, 18 July 2004 21:49 |
Eclipse User |
|
|
|
Originally posted by: waglenn.cs.clemson.edu
Hello,
I am working on a project that involves two or more connections
originating from a single connection anchor. I need to draw an arc
between these connections such that the arc is anchored a short distance
below the origin of the two most distant connections.
I am currently doing this by extending the Draw2d PolylineConnection
class' paint method. For a given connection I set (using absolute
coordinates) the termination point of the arc and then use the
Graphics.drawArc method to produce the arc.
My problem is that when using a ScalableFreeformRootEditPart with a zoom
manager zooming the diagram causes the arcs to disappear. Are there any
special considerations that need to be made when using absolute
coordinates on a scalable canvas? Or are there other more appropriate
mechanisms for adding arcs between connections?
Thank you,
Bill Glenn
|
|
|
Powered by
FUDForum. Page generated in 0.02714 seconds