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

Fix an issue in wgpu_svg example. #917

Merged
merged 1 commit into from
Sep 5, 2024
Merged

Conversation

pigking12345
Copy link

@pigking12345 pigking12345 commented Sep 5, 2024

quadratic bezier curve is rendered correctly.
Sample SVG:
`

` The SVG is supposed to be:

image

However, the result of wgpu_svg:
image

However, if I used lyon command directly, the result is correct. It turns out the issue is caused by the example itself. The end point and the control point is messed up.

Copy link
Owner

@nical nical left a comment

Choose a reason for hiding this comment

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

Woops! Thanks!

@nical nical merged commit 642b4d5 into nical:main Sep 5, 2024
2 of 3 checks passed
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.

3 participants