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

Bezier: Self-intersecting shapes result in holes #66

Open
Nils1729 opened this issue Jul 5, 2022 · 0 comments
Open

Bezier: Self-intersecting shapes result in holes #66

Nils1729 opened this issue Jul 5, 2022 · 0 comments
Labels
defect Something isn't working

Comments

@Nils1729
Copy link
Contributor

Nils1729 commented Jul 5, 2022

Screenshot from 2022-07-05 11-51-55
In the image, the radius of the shape is smaller than half the stroke width, thus the stroke boundaries form a husk. The renderer uses evenodd fill rule. Hence, these husks appear as holes.

One Solution would be to convert the shape to emulate the behavior of nonzero fill rule.
This would also be necessary for similar issues with the shape itself, not only the outline as well as the fill-rule SVG attribute.

Possible algorithms

@Nils1729 Nils1729 added the defect Something isn't working label Jul 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
defect Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant