connection figure antialiasing [message #225678] |
Wed, 01 November 2006 11:25  |
Eclipse User |
|
|
|
Originally posted by: aleksandr_kravets.iwaysoftware.com
Hello,
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?
thanks,
Alex
|
|
|
|
|
|
Re: connection figure antialiasing [message #225764 is a reply to message #225741] |
Wed, 01 November 2006 18:23  |
Eclipse User |
|
|
|
Hi,
Aleksandr Kravets 写道:
> David Cummings wrote:
>> The Logic Diagram example enables antialiasing for its connection
>> layer in the LogicDiagramEditPart#refreshVisuals method.
>>
>> David
>>
>> Aleksandr Kravets wrote:
>>> Hello,
>>>
>>> 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?
>>>
>>> thanks,
>>> Alex
> 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.
>
> Alex
By the way, For all FC6 users, setAntialias function not works in AMD64.
SWT seems no wills to resolve it in short time .
Regards,
Qinxian
|
|
|
Powered by
FUDForum. Page generated in 0.03626 seconds