hps-0.2: Haskell Postscript

Graphics.PS.Query

Synopsis

Documentation

startPt :: Path -> Maybe PtSource

Locate the starting point of the path.

endPt :: Path -> Maybe PtSource

Locate the end point of the path.

mkValid :: Path -> PathSource

Ensure path begins with a MoveTo.

approx :: Double -> Path -> PathSource

Approximate curves as straight lines.

close :: Path -> PathSource

Add a LineTo the start point of path.