diagrams-lib-0.4.0.1: Embedded domain-specific language for declarative graphics

Maintainerdiagrams-discuss@googlegroups.com

Diagrams.TwoD.Model

Contents

Description

Tools for visualizing diagrams' internal model: local origins, bounding regions, etc.

Synopsis

Showing the local origin

showOrigin :: (Renderable Ellipse b, Backend b R2, Monoid m) => AnnDiagram b R2 m -> AnnDiagram b R2 mSource

Mark the origin of a diagram by placing a red dot 1/50th its size.