hps-0.1: Haskell Postscript

Graphics.PS.Path

Synopsis

Documentation

data Path Source

Instances

Eq Path 
Show Path 
Transformable Path 

(+++) :: Path -> Path -> PathSource

Infix notation for path join.

line :: [Pt] -> PathSource

Line segments though list of points.

polygon :: [Pt] -> PathSource

Line variant connecting last point to first point.

rectangle :: Pt -> Double -> Double -> PathSource

Rectangle of specified dimensions anticlockwise from lower left.

arc :: Pt -> Double -> Double -> Double -> PathSource

Arc given by a central point, a radius, and start and end angles.

arcNegative :: Pt -> Double -> Double -> Double -> PathSource

Negative arc.

annular :: Pt -> Double -> Double -> Double -> Double -> PathSource

Annular segment.