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 10:44 Go to next message
Hauke Fuhrmann is currently offline Hauke FuhrmannFriend
Messages: 333
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 09:18 Go to previous messageGo to next message
Manuel Selva is currently offline Manuel SelvaFriend
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 12:06 Go to previous message
Marcel Austenfeld is currently offline Marcel AustenfeldFriend
Messages: 134
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: Sat Dec 20 23:04:30 GMT 2014

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

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