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

If you call ctx.restore while on the initial state, nothing will get drawn #809

Closed
chearon opened this issue Sep 10, 2016 · 0 comments
Closed

Comments

@chearon
Copy link
Collaborator

chearon commented Sep 10, 2016

To reproduce, open any of the examples and add a call to ctx.restore() before any other operations on ctx. The resulting image will be completely empty, which isn't what happens in the browser

Seems like cairo_restore does not check if you're on the initial state for some reason, or maybe it works differently than we expect

Cairo 1.14.6

@chearon chearon mentioned this issue Sep 10, 2016
@LinusU LinusU closed this as completed in 84d8e89 Oct 30, 2016
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