managed-commons / SvgNet

Fork of the SVG library for .NET that makes a GdiGraphics that "draws" on a SVG model
BSD 3-Clause "New" or "Revised" License
84 stars 37 forks source link

Fixed SVG export for filled interior of a closed path #24

Closed glopesdev closed 5 years ago

glopesdev commented 5 years ago

This pull request fixes issue #22. The solution is merging all subpaths of a GraphicsPath into a single SvgPath specification, and then make sure that the fill-rule attribute is set according to the FillMode of the graphics path.

This pull request is based off the updated master, and therefore supersedes pull-request #23. Turns out it was easier to just create a new PR on top of master, than rebasing the previous branch because of all the folder restructuring for 2.0.