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
PathCollection doesn't document cap and join styles #306
Comments
Sorry for late reply. Can you post a screenshot to show the problem (just drag and drop images in the issue) |
Screenshot and script that generated it are in the attached ZIP |
Easier for me if you post here. |
Script:
|
Miter limit is used here and might be wrong. Is the path ok with round joins ? To ease debugging, best would be to have a two segment paths in ortho mode that show the problem. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have an issue (attachment shows a reduced demonstration) where the miters of joined line segments in a
PathCollection
extend unreasonably far when the angle between them grows acute (use the trackball to rotate the figure in the demo to see the behaviour).Changing the
miter_limit
parameter appears to have no effect.I suspect that the
cap
andjoin
parameters are necessary to confine the extension of the lines, but I've not found any documentation on what values they take. I haven't yet had time to decipher the complex shader code to figure it out.I'd be happy to contribute a PR to elucidate this, but first I need to understand it myself!
miters.zip
The text was updated successfully, but these errors were encountered: