Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Supporting anti-clockwise arcs #57

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

Closed
karljs opened this issue Jan 22, 2018 · 2 comments · Fixed by #83
Closed

Supporting anti-clockwise arcs #57

karljs opened this issue Jan 22, 2018 · 2 comments · Fixed by #83
Labels
purs-0.15 A reminder to address this issue or merge this PR before we release PureScript v0.15.0 type: breaking change A change that requires a major version bump.

Comments

@karljs
Copy link
Contributor

karljs commented Jan 22, 2018

I would like to see support for the optional parameter to the arc function that allows drawing anti-clockwise arcs (see the MDN docs)

Adding another parameter (such as Maybe Bool) to the Arc type breaks backwards compatibility for folks, so I don't know how the maintainers feel about that. It might be possible to establish some standard alternative approach based on an extensible record.

Thoughts?

@paf31
Copy link
Contributor

paf31 commented Jun 20, 2018

What's the difference between setting this flag and flipping the two angle arguments?

@karljs
Copy link
Contributor Author

karljs commented Jun 21, 2018

My main issue with that is when using arc as part of a path, flipping the arguments can result in unexpected fill behavior. I haven't been able to find any other workaround.

@JordanMartinez JordanMartinez added purs-0.15 A reminder to address this issue or merge this PR before we release PureScript v0.15.0 type: breaking change A change that requires a major version bump. labels Dec 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
purs-0.15 A reminder to address this issue or merge this PR before we release PureScript v0.15.0 type: breaking change A change that requires a major version bump.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants