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

[Bug]: s/S commands are not synonyms of q/Q and are not implemented correctly #17

Open
ShukantPal opened this issue Dec 5, 2020 · 0 comments

Comments

@ShukantPal
Copy link

I know you're thinking of deprecating this package, but just wanted to report my findings upstream since I took your code.

In section $8.3.6 of the SVG 1.1 specifications, it describes the s/S commands are smooth cubic bezier curves. However, pixi-svg treats them as quadratic bezier curves.

I implemented them here if you need them:

https://github.com/SukantPal/pixi-essentials/blob/eb0c4a91a1b8f47d831e68fdf189ee23e628079b/packages/svg/src/SVGPathNode.ts#L187

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

No branches or pull requests

1 participant