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

Add support for elliptical arcs in PathBuilder #2

Closed
nical opened this issue May 30, 2016 · 1 comment
Closed

Add support for elliptical arcs in PathBuilder #2

nical opened this issue May 30, 2016 · 1 comment
Labels

Comments

@nical
Copy link
Owner

nical commented May 30, 2016

The svg spec for arcs: https://svgwg.org/specs/paths/#PathDataEllipticalArcCommands

It looks like the popular drawing libraries have an API for arcs that is different from SVG, I don't know if it's best to align to the SVG spec or, say Cairo's interface. Supporting whichever is simplest to implement would be a good start anyhow.
Ideally the arc_to implementation would internally be implemented in terms of quadratic or cubic bezier curves.

@nical
Copy link
Owner Author

nical commented Jun 17, 2016

Fixed by @UrbanSolution (various commits merged during the 0.0.3 train).

@nical nical closed this as completed Jun 17, 2016
@nical nical added the easy label Jul 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant