WashNGo-2.12.0.1: WASH is a family of EDSLs for programming Web applications in Haskell.
WASH.CGI.PPM
data Pixmap Source
Constructors
Fields
Instances
type Pixel = (Int, Int, Int)Source
create :: Int -> Int -> Int -> Pixel -> PixmapSource
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
pixelAt :: Pixmap -> Int -> Int -> PixelSource
type Color = (Int, Int, Int)Source
data Picture Source
render :: Picture -> Int -> Int -> Color -> PixmapSource