hps-0.16: Haskell Postscript

Safe HaskellSafe
LanguageHaskell98

Graphics.PS.PS

Description

Postscript generator.

Synopsis

Documentation

pagePS :: Show a => String -> a -> PS Source #

lineCapPS :: Enum a => a -> PS Source #

lineJoinPS :: Enum a => a -> PS Source #

dashPS :: [Int] -> Int -> PS Source #

curveToPS :: Pt Double -> Pt Double -> Pt Double -> PS Source #

gsPS :: GS -> PS Source #

(>+>) :: Monoid m => m -> m -> m infixl 1 Source #

ps_bracket :: Monoid m => (String -> m) -> String -> String -> [a] -> (a -> m) -> m Source #

ps_put :: Monoid m => (String -> m) -> PS -> m Source #

ps :: FilePath -> Paper -> [Image] -> IO () Source #

Write a postscript file. The list of images are written one per page.

stringFromPS_pt :: String -> (Int, Int) -> [Image] -> String Source #

Variant with page (paper) size in points.

stringFromPS :: String -> Paper -> [Image] -> String Source #

Generate postscript data given title, page size, and a set of page Images.

newtype MonadMonoid m Source #

Constructors

MonadMonoid 

Fields

eps :: FilePath -> BBox -> Image -> IO () Source #

Write an encapsulated postscript file. The BBox is in points. The single image is written.