-
Notifications
You must be signed in to change notification settings - Fork 14
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
Contour Segment representation ? #15
Comments
Where would you use it? One could start with a Contour.segments property that simply partitions points into a list based on the |
i'm ok with adding a property like the one suggested to make it easier to iterate over points grouped by segment, but I'd advise against wrapping the list of Point objects into a Segment wrapper class that does nothing except slowing things down |
One possible use-case for a Also, each segment should contain the last point of the previous segment to make it easier to call fontTools' bezierTools functions on a segment. |
a method or property of contour would be better, i think. |
defcon Contour has getter for |
Let's rely on pens if they are available. We already do for bounds. |
Wouldn't it be nice / meaningful to have Segment object too for glyphs' contours ?
The text was updated successfully, but these errors were encountered: