praeclarum / NGraphics

NGraphics is a cross platform library for rendering vector graphics on .NET. It provides a unified API for both immediate and retained mode graphics using high quality native renderers.
MIT License
710 stars 133 forks source link

Arc from SVG is broken into segments #72

Open StenPetrov opened 7 years ago

StenPetrov commented 7 years ago

I have an SVG I drew in Inkscape with several arcs and all of them are broken into segments


    <path
       style="opacity:1;fill:#00ff00;fill-opacity:0.06267808;stroke:#00ff00;stroke-width:25;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:4;stroke-opacity:1"
       sodipodi:type="arc"
       sodipodi:cx="415"
       sodipodi:cy="239.10849"
       sodipodi:rx="82.14286"
       sodipodi:ry="84.64286"
       sodipodi:start="0.32075808"
       sodipodi:end="4.34342"
       d="m 492.9533,265.7952 a 82.14286,84.64286 0 0 1 -85.40564,57.60709 82.14286,84.64286 0 0 1 -73.89757,-72.56127 82.14286,84.64286 0 0 1 51.72476,-90.6789"/>

and here's how it renders: https://www.dropbox.com/s/qzsildc00xtlrsy/Screen%20Shot%202017-01-22%20at%203.43.54%20PM.PNG?dl=0

I don't mind fixing the problem in NGraphics' code, any ideas what the issue may be and what's happening?