wumpus-core-0.41.0: Pure Haskell PostScript and SVG generation.

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

Wumpus.Core.OutputPostScript

Contents

Description

Output PostScript - either PostScript (PS) files or EPS (Encapusulated PostScript) files can be generated.

The generated PostScript uses only features from Language Level 1.

Synopsis

Output PostScript

writePS :: (Real u, Floating u, PSUnit u) => FilePath -> [Picture u] -> IO ()Source

Output a series of pictures to a Postscript file. Each picture will be printed on a separate page.

writeEPS :: (Real u, Floating u, PSUnit u) => FilePath -> Picture u -> IO ()Source

Output a picture to an EPS (Encapsulated PostScript) file. The .eps file can then be imported or embedded in another document.