|connection figure antialiasing [message #225678]
||Wed, 01 November 2006 16:25
Originally posted by: aleksandr_kravets.iwaysoftware.com|
In GEF Logic example connections (Wires) are as not as rigid as default
PolylineConnection figures - they have some smoothness to them. I've
looked at the code but can't seem to see where this is being set. Does
anyone know how it's done?
|Re: connection figure antialiasing [message #225764 is a reply to message #225741]
||Wed, 01 November 2006 23:23
| Xiang Qinxian
Registered: July 2009
Aleksandr Kravets 写道:
> David Cummings wrote:
>> The Logic Diagram example enables antialiasing for its connection
>> layer in the LogicDiagramEditPart#refreshVisuals method.
>> Aleksandr Kravets wrote:
>>> In GEF Logic example connections (Wires) are as not as rigid as
>>> default PolylineConnection figures - they have some smoothness to
>>> them. I've looked at the code but can't seem to see where this is
>>> being set. Does anyone know how it's done?
> Right, found it in the code.
> By the way
> org.eclipse.gmf.runtime.draw2d.ui.figures.PolylineConnection Ex, says
> that it provides smoothness and support avoid obstructions. So, does it
> do similar to what Layers do in Logic example?
We can use directly PolylineConnectionEx in gef editor, with a similar
behavior, but newest version is best.
By the way, For all FC6 users, setAntialias function not works in AMD64.
SWT seems no wills to resolve it in short time .
Powered by FUDForum
. Page generated in 0.01904 seconds