We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have an SVG file that is displayed differently when using this library compared to other tools:
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 100 20"> <line x1="10" y1="10" x2="90" y2="10" style="stroke: #000; stroke-dasharray: 0 5; stroke-linecap: round"/> </svg>
SharpVectors:
Other tools like browsers or svgviewer.dev:
After some experiments I think the combination of stroke-linecap: round and having a 0 in the stroke-dasharray is what causes the discrepancy.
stroke-linecap: round
0
stroke-dasharray
The text was updated successfully, but these errors were encountered:
Fixes Issue #223
d3c90f6
Simply a GDI+ limitation assumed on WPF, which actually renders this correctly.
Sorry, something went wrong.
Thanks!
paulushub
No branches or pull requests
I have an SVG file that is displayed differently when using this library compared to other tools:
SharpVectors:
Other tools like browsers or svgviewer.dev:
After some experiments I think the combination of
stroke-linecap: round
and having a0
in thestroke-dasharray
is what causes the discrepancy.The text was updated successfully, but these errors were encountered: