Maintainer | diagrams-discuss@googlegroups.com |
---|---|
Safe Haskell | None |
Tools for visualizing diagrams' internal model: local origins, envelopes, etc.
- showOrigin :: (Renderable (Path R2) b, Backend b R2, Monoid' m) => QDiagram b R2 m -> QDiagram b R2 m
- showOrigin' :: (Renderable (Path R2) b, Backend b R2, Monoid' m) => OriginOpts -> QDiagram b R2 m -> QDiagram b R2 m
- data OriginOpts = OriginOpts {}
- showLabels :: (Renderable Text b, Backend b R2) => QDiagram b R2 m -> QDiagram b R2 Any
Showing the local origin
showOrigin :: (Renderable (Path R2) b, Backend b R2, Monoid' m) => QDiagram b R2 m -> QDiagram b R2 mSource
Mark the origin of a diagram by placing a red dot 1/50th its size.
showOrigin' :: (Renderable (Path R2) b, Backend b R2, Monoid' m) => OriginOpts -> QDiagram b R2 m -> QDiagram b R2 mSource
Mark the origin of a diagram, with control over colour and scale of marker dot.
data OriginOpts Source