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

New example for drawing arcs and circle sections #195

Merged
merged 1 commit into from
Dec 19, 2022

Conversation

joffreybesos
Copy link
Contributor

There is no draw.arc() function and it seems the lyon crate only supports it for SVGs.
I had a use case that required this, so I've come up with a helper function that essentially achieves the same thing by drawing a path.
I've written it as an example in case it comes in handy for someone else, since dealing with the math is a pain.

@Nazariglez
Copy link
Owner

Thank you so much! this looks great!

@Nazariglez Nazariglez merged commit 25e3e95 into Nazariglez:develop Dec 19, 2022
@Nazariglez Nazariglez added this to the 0.9.0 milestone Jan 24, 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

Successfully merging this pull request may close these issues.

2 participants