Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Arcs between connections
Arcs between connections [message #143129] Sun, 18 July 2004 21:49
Eclipse UserFriend
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
Previous Topic:SWTGraphics & Rigth To Left applications
Next Topic:FlowLayout shrink on remove
Goto Forum:
  


Current Time: Wed Jul 03 10:30:22 GMT 2024

Powered by FUDForum. Page generated in 0.02959 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top