Skip to content

Context being lost #57

@msalmonse

Description

@msalmonse

I have a program that reads data and plots it using different backends. Each backend implements a protocol and one of the methods in the the protocol is to start clipping. I have used SwiftImage in my png backend, source here. I use image.withCGContext closures to get the context each time I want to do something. What I discovered is that the clipping path I set in one closure was gone in the next.

My initial feeling was that the context should be the same but on the other hand it doesn't seem unreasonable to behave that way. On the off chance that it is a bug I thought I'd let you know.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions