Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » splines or bezier curves with Draw2D?
splines or bezier curves with Draw2D? [message #240899] Wed, 23 January 2008 05:44 Go to next message
Hauke Fuhrmann is currently offline Hauke Fuhrmann
Messages: 322
Registered: July 2009
Senior Member
Hi there,

is it possible to display a connection with some bendpoints in the shape
of a smooth curve (spline/bezier)?
I have seen this in some GMF editors but don't find this function in Draw2D.

Cheers,
Hauke
Re: splines or bezier curves with Draw2D? [message #241083 is a reply to message #240899] Tue, 29 January 2008 04:18 Go to previous messageGo to next message
Manuel Selva is currently offline Manuel Selva
Messages: 189
Registered: July 2009
Location: Grenoble, France
Senior Member
Hi Hauke,

I think these feature is not provided by Draw2d. Anybody can confirm ?

You should tried to implement your own connection figure
(PolylineConncetion may be a good entry point) using SWT bezier curves
primitive when drawing the figure.
this should be a quite difficult work ...

May be you can contribute such a feature ... it will be helpfull for many
people.

Please let me know about this subject

Manu
http://manuelselva.wordpress.com/


Re: splines or bezier curves with Draw2D? [message #241088 is a reply to message #240899] Tue, 29 January 2008 07:06 Go to previous message
Marcel A. is currently offline Marcel A.
Messages: 125
Registered: July 2009
Senior Member
I think this post could be interesting for you to implement it yourself.

http://www.eclipsezone.com/eclipse/forums/t76409.html

With kind regards

Marcel
Previous Topic:How do I make a rectangle clickable?
Next Topic:BendpointEditPolicy setReferencePoints IndexOutOfBoundsException
Goto Forum:
  


Current Time: Thu Jul 31 03:39:48 EDT 2014

Powered by FUDForum. Page generated in 0.01745 seconds