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

Use correct fill rule when rendering SVG paths #1606

Merged
merged 2 commits into from
Feb 20, 2021

Conversation

SecondFlight
Copy link
Collaborator

@SecondFlight SecondFlight commented Feb 20, 2021

SVG paths can specify a fill rule, either "evenodd" or "nonzero". This PR updates the SVG widget so it respects this property.

Before:
image

After:
image

Copy link
Collaborator

@maan2003 maan2003 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks Good. Thanks!

@maan2003 maan2003 merged commit f51a436 into linebender:master Feb 20, 2021
richard-uk1 pushed a commit to richard-uk1/druid that referenced this pull request Apr 6, 2021
* Use correct fill rule when rendering SVG paths

* Update CHANGELOG.md
xarvic pushed a commit to xarvic/druid that referenced this pull request Apr 7, 2021
* Use correct fill rule when rendering SVG paths

* Update CHANGELOG.md
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

Successfully merging this pull request may close these issues.

2 participants