wumpus-basic-0.6.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 MPath u a Source

Instances

type CPath u = MPath u ()Source

runPath :: Num u => Point2 u -> MPath u a -> (a, Path u)Source

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

bezierto :: (Floating u, Ord u) => Point2 u -> Point2 u -> Point2 u -> CPath uSource

curveto :: (Floating u, Ord u) => Radian -> Radian -> Point2 u -> CPath uSource