wumpus-basic-0.9.0: Common drawing utilities built on wumpus-core.

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

Wumpus.Basic.Paths.Construction

Description

Build paths.

** 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 :: Num u => Point2 u -> PathM u a -> (a, Path u)Source

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

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

hline :: 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