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

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

Wumpus.Drawing.Extras.Loop

Description

Open loop for a circle (useful for automata diagrams).

Synopsis

Documentation

loop :: (Real u, Floating u, InterpretUnit u, Tolerance u) => u -> Point2 u -> Radian -> Query u (AbsPath u)Source

Generate a loop - suitable for decorating a circle.

The radius and the (implicit) start point are the center and radius of the initial circle not the loop itself.

loopPoints :: (Real u, Floating u) => u -> Point2 u -> Radian -> [Point2 u]Source

Note - intermediate names and quadrants represent a loop drawn upwards.