Skip to content

Commit

Permalink
add test case from cairo#38
Browse files Browse the repository at this point in the history
  • Loading branch information
Brent Yorgey committed Jan 17, 2014
1 parent de312c3 commit 88b2995
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Binary file added ref/triangle-miter.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions src/Diagrams/Tests.hs
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,10 @@ examples =
<>
trailLike ((fromVertices [origin, 0 ^& 2, 3 ^& 3, 4 ^& 1] # wrapLine) `at` origin)

, Test "triangle-miter" $
triangle 1 # fc green # rotateBy (1/5)
<>
square 1.2 # fc white # lw 0
]

poly_example = (poly1 ||| strutX 1 ||| poly2) # lw 0.05
Expand Down

0 comments on commit 88b2995

Please sign in to comment.