Skip to main content


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 12:43
Meghna Missing name is currently offline Meghna Missing nameFriend
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 23 13:28:01 GMT 2024

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

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

Back to the top