Skip to main content



      Home
Home » Modeling » Graphiti » Bezier Rendering for Connections
Bezier Rendering for Connections [message #665981] Mon, 18 April 2011 08:58 Go to next message
Eclipse UserFriend
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 04:06 Go to previous message
Eclipse UserFriend
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: Wed Jul 02 03:19:53 EDT 2025

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

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

Back to the top