Skip to main content


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: 1931
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: Fri Mar 29 11:44:58 GMT 2024

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

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

Back to the top