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 {}
- oColor :: Lens' OriginOpts (Colour Double)
- oScale :: Lens' OriginOpts Double
- oMinSize :: Lens' OriginOpts Double
- showLabels :: (Renderable Text b, Backend b R2, Semigroup m) => 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