wumpus-drawing-0.2.0: High-level drawing objects built on Wumpus-Basic.

PortabilityGHC
Stabilityhighly unstable
MaintainerStephen Tetley <stephen.tetley@gmail.com>

Wumpus.Drawing.Arrows.Tips

Description

Anchor points on shapes.

** WARNING ** this module is an experiment, and may change significantly in future revisions.

Synopsis

Documentation

data Arrowhead u Source

Encode an arrowhead as a Graphic and a retract distance - lines should be shortened for certain drawings (e.g. open triangles).

The retract distance is context sensitive - usually just on the markHeight (or halfMarkHeight) so it has to be calculated w.r.t. the DrawingCtx.