Skip to content

Assertion Failure when intersecting two ellipses #1

@b-lester

Description

@b-lester

Hello. Thank you for creating this extension! I really need something like this for a project of mine. I was successfully able to get it to work with two squares but it failed with an assertion failure when intersecting two ellipses. Sample Code:

let path1 = CGMutablePath()
path1.addEllipse(in: CGRect(x: 0, y: 0, width: 100, height: 100))
let path2 = CGMutablePath()
path2.addEllipse(in: CGRect(x: 50, y: 50, width: 100, height: 100))

let paths = path1.intersect(with: path2) // assertion failure

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