Portability | GHC |
---|---|
Stability | highly unstable |
Maintainer | Stephen Tetley <stephen.tetley@gmail.com> |
Common data types for the monadic builders.
Documentation
Monadic builders allow both inserts (patterned after TikZ) which are decorations along the path and sub paths that are stroked and possibly closed.
Vamp | |
|
extractTrace :: OPlus a => a -> BuildLog a -> (a, a)Source
Extract the pen and insert drawings from a BuildLog
.
Any sub-paths traced by the pen are drawn at the back in the Z-order.
addInsert :: a -> BuildLog a -> BuildLog aSource
Add an insert.
This is a decoration drawn at the current point during path building.
addPen :: a -> BuildLog a -> BuildLog aSource
Add a pen drawing.
This is a stroked path sub-path formed prior to a moveto
instruction. Moveto is synonymous with pen up - at a pen up
and sub-path is drawn as a trace.