Bezier Rendering for Connections [message #665981] |
Mon, 18 April 2011 08:58  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.08549 seconds