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(ui-canvas): iOS Path arcTo() end angle module 360 #64

Merged
merged 1 commit into from
Aug 3, 2024

Conversation

CatchABus
Copy link
Contributor

This PR ensures Path.arcTo() functionality gets closer to that of Android.
By default, android will use module 360 to calculate end angle and draw arcs.
This is also mentioned in source comments: https://android.googlesource.com/platform/frameworks/base/+/master/graphics/java/android/graphics/Path.java#483

@CatchABus CatchABus changed the title fix(ui-canvas): iOS Path arcTo() sweep angle treat module 360 fix(ui-canvas): iOS Path arcTo() end angle module 360 Aug 3, 2024
@CatchABus CatchABus merged commit e55da2a into master Aug 3, 2024
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.

1 participant