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

skia.Path.ConvertConicToQuads() not working as expected #115

Closed
justvanrossum opened this issue Sep 26, 2020 · 1 comment
Closed

skia.Path.ConvertConicToQuads() not working as expected #115

justvanrossum opened this issue Sep 26, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@justvanrossum
Copy link
Contributor

Describe the bug
skia.Path.ConvertConicToQuads() does not appear to return the correct value.

To Reproduce
I translated this fiddle to Python:
https://fiddle.skia.org/c/@Path_ConvertConicToQuads
My Python version:
conictest.py.zip

The script fails with IndexError: list index out of range

Expected behavior
The returned quads list contains only 2 points, but according to the fiddle it should contain 5.

Desktop (please complete the following information):

  • OS: macOS 10.15.6
  • Python: 3.8
  • skia-python version: 86.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants