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

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

Wumpus.Basic.Paths

Description

Extended path type - more amenable for complex drawings than the type in Wumpus-Core.

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

Documentation

shorten :: (Real u, Floating u, Ord u) => u -> Path u -> Path uSource

shortenL :: (Real u, Floating u, Ord u) => u -> Path u -> Path uSource

shortenR :: (Real u, Floating u, Ord u) => u -> Path u -> Path uSource

midpoint :: (Real u, Floating u) => Path u -> Point2 uSource