We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
{-# LANGUAGE NoMonomorphismRestriction #-} ----------------------------------------------------------------------------- module Main where import Diagrams.Prelude import Diagrams.Backend.SVG import Diagrams.Backend.SVG.CmdLine l1 = straight unitX l2 = straight unitX # rotateBy (1/12) t = trailFromSegments [l1, l2] t1 = adjust t with { adjMethod = ByAbsolute (-0.5), adjSide = Start} t2 = adjust t with { adjMethod = ByAbsolute (-0.5), adjSide = End} ex = strokeT t === strutY 0.25 === strokeT t1 === strutY 0.25 === strokeT t2 main = defaultMain $ ex # centerXY # pad 1.1
produces:
Note how the final trail looks identical to the first; instead, its end should be shorter.
The bug is probably somewhere in the Sectionable instance for Trail.
Sectionable
Trail
The text was updated successfully, but these errors were encountered:
Repaired, added reverseDomain to Sectionable instance of Trail
Sorry, something went wrong.
d36aae4
No branches or pull requests
produces:
Note how the final trail looks identical to the first; instead, its end should be shorter.
The bug is probably somewhere in the
Sectionable
instance forTrail
.The text was updated successfully, but these errors were encountered: