Skip to content
New issue

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

arcs with stroke-dasharray are drawn as filled circle segments #66

Closed
joergk680 opened this issue Nov 16, 2022 · 2 comments
Closed

arcs with stroke-dasharray are drawn as filled circle segments #66

joergk680 opened this issue Nov 16, 2022 · 2 comments
Assignees

Comments

@joergk680
Copy link

joergk680 commented Nov 16, 2022

Hi,

I have some lines with dash-arrays in my drawing. In case of arcs they are not shown as dashed lines, but as a filled shape instead. In Inkscape they are shown as expected.
The SVG content is this:

<?xml version="1.0" standalone="no"?>
<svg viewBox="-690 3970 398 667" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" stroke-linecap="round" stroke-linejoin="round" fill-rule="evenodd" xml:space="preserve" >
<defs >
<clipPath id="clipId0" >
<path d="M-690,4637 -292,4637 -292,3970 -690,3970 z" />
</clipPath>
</defs>
<g clip-path="url(#clipId0)" fill="none" stroke="rgb(0,0,0)" stroke-width="0.0155343877" />
<g clip-path="url(#clipId0)" fill="none" stroke="rgb(0,0,0)" stroke-width="0.0155343877" >
<polyline points="-689,4239.5 -602.5,4239.5 " stroke-dasharray="6.350000,3.175000" />
<path d="M-602.5,4239.5  A86.5,86.5 0 0,0 -689,4153 " stroke-dasharray="6.350000,3.175000" />
<polyline points="-689,4265.5 -602.5,4265.5 " stroke-dasharray="6.350000,3.175000" />
<path d="M-689,4353  A88.2340395,88.2340395 0 0,0 -602.5,4265.5 " stroke-dasharray="6.350000,3.175000" />
</g>
</svg>

Greetings,
Jörg

@jogibear9988
Copy link
Member

Maybe you could create a pull request to fix this? I'm not using WPF very much at the moment, so have very little time to look for issues in the lib.

@paulushub
Copy link
Collaborator

paulushub commented Oct 25, 2023

@joergk680 Please fix your SVG. I have opened it in Inkscape, and it is empty.

@paulushub paulushub self-assigned this Oct 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants