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

Add offsetTrail and expandTrail. #103

Merged
merged 13 commits into from
Sep 5, 2013
Merged

Add offsetTrail and expandTrail. #103

merged 13 commits into from
Sep 5, 2013

Conversation

fryguybob
Copy link
Member

Building on offsetSegment this allows us to produce the offset of a whole trail (offsetTrail) or path or to do symmetric offsets around a curve capped with an end style (expandTrail). Inside corners take a path that assume a symmetric offset. In the future we should offer several clipping options for these inside curves including clipping all intersections and clipping only local intersections (if the original curve has a self intersection the offset may also have a self intersection). Also not included are custom join and cap styles as these functions will need to change to take into account clipping.

@byorgey
Copy link
Member

byorgey commented Sep 5, 2013

Awesome! =D We will need to add a section to the user manual as well, just something to explain about the different functions that are available and what they do.

byorgey added a commit that referenced this pull request Sep 5, 2013
Add offsetTrail and expandTrail.
@byorgey byorgey merged commit 01075fd into master Sep 5, 2013
@byorgey byorgey deleted the expand branch September 5, 2013 13:39
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

Successfully merging this pull request may close these issues.

2 participants