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
705
stars
133
forks
source link
Make use of DashPattern for Pen when reading/writing svg. #93
It was previously possible to set a DashPattern, but it was never used by Pen when reading and writing svg. Updated to include the set dashpattern in svg's property stroke-dasharray.
E.g. for rectangle: <rect stroke-width = "2" stroke = "#FF0000" stroke-dasharray="4,3" fill="none" x = "25" y = "25" width = "50" height = "50" />
It was previously possible to set a DashPattern, but it was never used by Pen when reading and writing svg. Updated to include the set dashpattern in svg's property stroke-dasharray.
E.g. for rectangle:
<rect stroke-width = "2" stroke = "#FF0000" stroke-dasharray="4,3" fill="none" x = "25" y = "25" width = "50" height = "50" />
NGraphics.zip