2014-06-21 18:05 GMT+02:00 Hilaire Fernandes <hilaire.fernandes@gmail.com>:
I try a direct use of this method, and the same problem occurs under
Wine/Windows.

Is ti a problem with native boost? Is it different Cairo lib used for
Linux and Windows/Mac VM?

Hilaire



arcCenterX: xc centerY: yc radius: radius startAngle: angle1 endAngle:
angle2
�� �� �� �� <primitive: #primitiveNativeCall module: #NativeBoostPlugin error:
errorCode>

�� �� �� �� self nbCall: #(void cairo_arc (AthensCairoCanvas context,
�� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� double xc,
�� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� double yc,
�� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� double radius,
�� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� double angle1,
�� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� double angle2) )





--
Dr. Geo http://drgeo.eu
iStoa - https://launchpad.net/istoa




I think this is a bug on cairo. The strange rendering only happens on strokes,
not on solids fills and not on stroke with dashes:

| view |
view�� := AthensSceneView new.
view extent:600@600.
view scene: [:canvas | |path|
������ path:= canvas createPath:[:builder |
������ ������ builder absolute.
������ ������ builder moveTo: -100@300.
������ ������ builder cwArcTo:300@300 angle:Float pi.
������ ������ ].
������
������ canvas surface clear:�� Color black.
������ canvas setPaint: Color red.
������ canvas setShape:path.
������ canvas draw.
������ (canvas setStrokePaint: Color green) width:2.
������ canvas draw.
������ (canvas setStrokePaint: Color yellow) width: 2;dashes:#( 3 3) offset:0.
������ canvas draw.
].
view openInWindow.