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

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

Wumpus.Drawing.Paths.MonadicConstruction

Description

Build paths monadically.

** WARNING ** this module is an experiment, and may change significantly or even be dropped from future revisions.

Documentation

data PathM u a Source

Instances

runPath :: Floating u => Point2 u -> PathM u a -> (a, Path u)Source

execPath :: Floating u => Point2 u -> PathM u a -> Path uSource

hline :: Floating u => u -> PathM u ()Source

vline :: Floating u => u -> PathM u ()Source

bezierto :: (Floating u, Ord u) => Point2 u -> Point2 u -> Point2 u -> PathM u ()Source

curveto :: (Floating u, Ord u) => Radian -> Radian -> Point2 u -> PathM u ()Source