hps-0.16: Haskell Postscript

Safe HaskellSafe
LanguageHaskell98

Graphics.PS.GS

Description

PS graphics state.

Synopsis

Documentation

type LineWidth = Double Source #

Line width (real).

data Color Source #

Colour model. Postscript doesn't support alpha, but store it for PDF rendering etc.

Instances

Eq Color Source # 

Methods

(==) :: Color -> Color -> Bool #

(/=) :: Color -> Color -> Bool #

Show Color Source # 

Methods

showsPrec :: Int -> Color -> ShowS #

show :: Color -> String #

showList :: [Color] -> ShowS #

data GS Source #

Graphics state.

Instances

Eq GS Source # 

Methods

(==) :: GS -> GS -> Bool #

(/=) :: GS -> GS -> Bool #

Show GS Source # 

Methods

showsPrec :: Int -> GS -> ShowS #

show :: GS -> String #

showList :: [GS] -> ShowS #

defaultGS :: Color -> GS Source #

Default GS of indicated Color.

greyGS :: Double -> GS Source #

Default GS of indicated shade of grey.