WashNGo-2.12: WASH is a family of embedded domain specific languages (EDSL) for programming Web applications in Haskell.ContentsIndex
WASH.CGI.CGIGraphics
Documentation
activeImage :: CGIImage -> WithHTML x CGI ()
newImage :: (Int, Int) -> Pixel -> CGIImage
drawOval :: CGIImage -> (Int, Int) -> (Int, Int) -> Pixel -> CGIImage
fillOval :: CGIImage -> (Int, Int) -> (Int, Int) -> Pixel -> CGIImage
drawRectangle :: CGIImage -> (Int, Int) -> (Int, Int) -> Pixel -> CGIImage
fillRectangle :: CGIImage -> (Int, Int) -> (Int, Int) -> Pixel -> CGIImage
drawLine :: CGIImage -> (Int, Int) -> (Int, Int) -> Pixel -> CGIImage
drawPoint :: CGIImage -> (Int, Int) -> Pixel -> CGIImage
makeText :: String -> Pixel -> CGIImage
gifImage :: String -> CGIImage
xwdImage :: String -> CGIImage
xpmImage :: String -> CGIImage
bmpImage :: String -> CGIImage
activateImage :: CGIImage -> CGI () -> CGIImage
activateXY :: CGIImage -> ActionFun -> CGIImage
activateColor :: CGIImage -> Pixel -> CGI () -> CGIImage
overlay :: CGIImage -> CGIImage -> (Int, Int) -> Pixel -> CGIImage
type Pixel = (Int, Int, Int)
type CGIImage = IO CGIImage'
type ActionFun = Int -> Int -> Maybe (CGI ())
Produced by Haddock version 0.8