Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » Bezier Rendering for Connections
Bezier Rendering for Connections [message #665981] Mon, 18 April 2011 12:58 Go to next message
Rainer Thome is currently offline Rainer ThomeFriend
Messages: 5
Registered: December 2010
Junior Member
Hello!

I would like to change the rendering type of free form connections in a way that they look more like bezier curves. I have already read, that the PlatformGraphicsAlgorithm class could be suitable for this and that I need to implement my own BendpointConnectionRouter, but actually I dont know where to start and what classes I need to create, since I am not that familiar with GEF/Draw2D. Maybe you can help me out.

Thanks in advance,
Rainer
Re: Bezier Rendering for Connections [message #666123 is a reply to message #665981] Tue, 19 April 2011 08:06 Go to previous message
Michael Wenz is currently offline Michael WenzFriend
Messages: 1640
Registered: July 2009
Location: Walldorf, Germany
Senior Member
Rainer,

documentation for doing this is still lacking, but there is an example on
how to implement a PlatformGraphicsAlgorithm for a shape in Bugzilla 326730
(https://bugs.eclipse.org/bugs/show_bug.cgi?id=326730). Mayby that helps.

Michael


"Rainer Thome" wrote in message news:iohc35$vm5$1@news.eclipse.org...

Hello!

I would like to change the rendering type of free form connections in a way
that they look more like bezier curves. I have already read, that the
PlatformGraphicsAlgorithm class could be suitable for this and that I need
to implement my own BendpointConnectionRouter, but actually I dont know
where to start and what classes I need to create, since I am not that
familiar with GEF/Draw2D. Maybe you can help me out.

Thanks in advance,
Rainer
Previous Topic:broken link
Next Topic:Petri Net
Goto Forum:
  


Current Time: Sun Dec 21 14:34:12 GMT 2014

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

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