Portability | GHC |
---|---|

Stability | highly unstable |

Maintainer | Stephen Tetley <stephen.tetley@gmail.com> |

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.

- type ConnPath u = Point2 u -> Point2 u -> Path u
- connectS :: Floating u => ConnPath u
- vhconn :: Floating u => ConnPath u
- hvconn :: Floating u => ConnPath u
- arbv :: Floating u => u -> ConnPath u
- arbh :: Floating u => u -> ConnPath u
- curveconn :: (Floating u, Ord u) => Radian -> Radian -> ConnPath u
- joint :: (Real u, Floating u) => u -> ConnPath u
- pathGraphic :: Num u => ConnPath u -> ConnGraphic u
- fillPath :: Num u => Path u -> Graphic u
- shorten :: (Real u, Floating u, Ord u) => u -> Path u -> Path u
- shortenL :: (Real u, Floating u, Ord u) => u -> Path u -> Path u
- shortenR :: (Real u, Floating u, Ord u) => u -> Path u -> Path u
- midpoint :: (Real u, Floating u) => Path u -> Point2 u
- directionL :: (Real u, Floating u) => Path u -> Radian
- directionR :: (Real u, Floating u) => Path u -> Radian

# Documentation

pathGraphic :: Num u => ConnPath u -> ConnGraphic uSource