Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Problem with drawing connections using draw2d PolylineConnection(Problem with drawing connections using draw2d PolylineConnection)
Problem with drawing connections using draw2d PolylineConnection [message #761408] Tue, 06 December 2011 07:43
Meghna Missing name is currently offline Meghna Missing name
Messages: 9
Registered: March 2011
Junior Member
Hi,

I am using or.eclipse.draw2d PolylineConnection to draw
connections between two points:-
setStart(startPoint);
setEnd(endPoint);

If the two points are vertically far away from each other
then the connection line appear like a staircase.
How to draw a smooth line between two points when they are
vertically far from each other?

Also, if the two points are very far from each other(around 122690
difference between y-position of startPoint & y-position of endPoint)
then the connection line is broken, i.e. it is drawn in 3-4
different pieces with lot of gap in between.
Any reasons as to why this is happening?

Any Pointers to resolve these problem will be greatly helpful.
Previous Topic:Problem with drawing polygon using draw2d ScalablePolygonShape.
Next Topic:GEF editor coordinates relative to Eclipse workbench.
Goto Forum:
  


Current Time: Mon Sep 01 07:26:20 EDT 2014

Powered by FUDForum. Page generated in 0.02387 seconds