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

Offset Bug #155

Closed
fryguybob opened this issue Feb 8, 2014 · 0 comments
Closed

Offset Bug #155

fryguybob opened this issue Feb 8, 2014 · 0 comments
Labels

Comments

@fryguybob
Copy link
Member

Putting this here so I don't forget to look into it. Offsetting a circle gives an extra loop:

import Diagrams.Prelude
import Diagrams.Backend.Postscript.CmdLine
import Diagrams.TwoD.Offset

d :: Diagram B R2
d = circle 1 # offsetPath 0.1 # stroke

main = mainWith d

http://www.cs.rochester.edu/u/ryates/temp/expandBug.pdf

fryguybob added a commit that referenced this issue Feb 13, 2014
Exclude extra segment when joining loops in offset. Fixes #155.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant