Broken arcCenterX:centerY:radius:startAngle:endAngle:
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
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.
Right! I tested it with DrGeo on Wine and see the same results as you Hilaire Le 21/06/2014 18:20, Nicolai Hess a écrit :
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:
-- Dr. Geo http://drgeo.eu iStoa - https://launchpad.net/istoa
SOOooo, the next question is: are the Cairo libs the same on all VMs ? Found nothing on git Le 21/06/2014 20:00, Hilaire Fernandes a écrit :
Right! I tested it with DrGeo on Wine and see the same results as you
Hilaire
Le 21/06/2014 18:20, Nicolai Hess a écrit :
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:
-- Dr. Geo http://drgeo.eu iStoa - https://launchpad.net/istoa
I think they are all using the same cairo libs, or at least, the same source version (1.12.6). But rendering with cairo on different OS (linux/windows ...) uses different backends gdi, quarts, xlib, xcb .... I just built a windows vm with new libcairo source (1.12.14) and the bug on stroking arc paths is gone :) 2014-06-21 22:11 GMT+02:00 Hilaire Fernandes <hilaire.fernandes@gmail.com>:
SOOooo, the next question is: are the Cairo libs the same on all VMs ?
Found nothing on git
Le 21/06/2014 20:00, Hilaire Fernandes a écrit :
Right! I tested it with DrGeo on Wine and see the same results as you
Hilaire
Le 21/06/2014 18:20, Nicolai Hess a écrit :
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:
-- Dr. Geo http://drgeo.eu iStoa - https://launchpad.net/istoa
Fantastic! Could you send me an archive of this Windows VM to test it and integrate it for DrGeo? (hilaire [at] drgeo.eu) Thanks Hilaire Le 22/06/2014 00:31, Nicolai Hess a écrit :
I just built a windows vm with new libcairo source (1.12.14) and the bug on stroking arc paths is gone :)
-- Dr. Geo http://drgeo.eu iStoa - https://launchpad.net/istoa
done. 2014-06-22 9:11 GMT+02:00 Hilaire Fernandes <hilaire.fernandes@gmail.com>:
Fantastic! Could you send me an archive of this Windows VM to test it and integrate it for DrGeo? (hilaire [at] drgeo.eu)
Thanks
Hilaire
Le 22/06/2014 00:31, Nicolai Hess a écrit :
I just built a windows vm with new libcairo source (1.12.14) and the bug on stroking arc paths is gone :)
-- Dr. Geo http://drgeo.eu iStoa - https://launchpad.net/istoa
Thanks Nicolai works like a charm. Anyone to recompile the Mac OSX VM, please. Thanks Hilaire Le 22/06/2014 11:17, Nicolai Hess a écrit :
done.
2014-06-22 9:11 GMT+02:00 Hilaire Fernandes <hilaire.fernandes@gmail.com <mailto:hilaire.fernandes@gmail.com>>:
Fantastic! Could you send me an archive of this Windows VM to test it and integrate it for DrGeo? (hilaire [at] drgeo.eu <http://drgeo.eu>)
Thanks
Hilaire
Le 22/06/2014 00:31, Nicolai Hess a écrit : > I just built a windows vm with new libcairo source (1.12.14) > and the bug on stroking arc paths is gone :) >
-- Dr. Geo http://drgeo.eu iStoa - https://launchpad.net/istoa
-- Dr. Geo http://drgeo.eu iStoa - https://launchpad.net/istoa
Hilaire add a bug entry with all the information so that we keep it in our todo. Stef On 22/6/14 12:09, Hilaire Fernandes wrote:
Thanks Nicolai works like a charm.
Anyone to recompile the Mac OSX VM, please.
Thanks
Hilaire
Le 22/06/2014 11:17, Nicolai Hess a écrit :
done.
2014-06-22 9:11 GMT+02:00 Hilaire Fernandes <hilaire.fernandes@gmail.com <mailto:hilaire.fernandes@gmail.com>>:
Fantastic! Could you send me an archive of this Windows VM to test it and integrate it for DrGeo? (hilaire [at] drgeo.eu <http://drgeo.eu>)
Thanks
Hilaire
Le 22/06/2014 00:31, Nicolai Hess a écrit : > I just built a windows vm with new libcairo source (1.12.14) > and the bug on stroking arc paths is gone :) >
-- Dr. Geo http://drgeo.eu iStoa - https://launchpad.net/istoa
participants (3)
-
Hilaire Fernandes -
Nicolai Hess -
stepharo