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

Path.offset(distance:) hits assertion failure when called on a Path where all points are equal #53

Closed
drewbratcher opened this issue Jan 10, 2020 · 1 comment

Comments

@drewbratcher
Copy link

This can happen when you have a shape made up of curves when the shape is a height and width of 0. The generated outline path will be a group of points where every point is equal.
The assertion hit is "curves are not contiguous." in PathComponent.init(curves:)

@hfutrell
Copy link
Owner

hfutrell commented Apr 2, 2020

this has been fixed in version 0.6.1. Thanks, Drew!

@hfutrell hfutrell closed this as completed Apr 2, 2020
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

2 participants