Skip to content

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

Closed
@chearon

Description

@chearon

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions