WashNGo-2.12.0.1: WASH is a family of EDSLs for programming Web applications in Haskell.

WASH.CGI.PPM

Documentation

data Pixmap Source

Constructors

Pixmap 

Fields

width :: Int
 
height :: Int
 
maximumColorValue :: Int
 
pixelFun :: Int -> Int -> Pixel
 

Instances

type Pixel = (Int, Int, Int)Source

oval :: Pixmap -> (Int, Int) -> (Int, Int) -> Pixel -> Bool -> PixmapSource

line :: Pixmap -> (Int, Int) -> (Int, Int) -> Pixel -> PixmapSource

rectangle :: Pixmap -> (Int, Int) -> (Int, Int) -> Pixel -> Bool -> PixmapSource

type Color = (Int, Int, Int)Source