| X11 Libraries (X11 package) | Source code | Contents | Index
Graphics.X11.Xlib.Image |
Portability | portable
Stability | provisional
Maintainer | libraries@haskell.org, frederik@ofb.net
Description
Xlib image routines
Synopsis
data Image
createImage :: Display -> Visual -> CInt -> ImageFormat -> CInt -> Ptr CChar -> Dimension -> Dimension -> CInt -> CInt -> IO Image
putImage :: Display -> Drawable -> GC -> Image -> Position -> Position -> Position -> Position -> Dimension -> Dimension -> IO ()
destroyImage :: Image -> IO ()
Documentation
data Image
pointer to an X11 `XImage` structure
Instances
Data Image
Eq Image
Ord Image
Show Image
Typeable Image
createImage :: Display -> Visual -> CInt -> ImageFormat -> CInt -> Ptr CChar -> Dimension -> Dimension -> CInt -> CInt -> IO Image
interface to the X11 library function `XCreateImage()`.
putImage :: Display -> Drawable -> GC -> Image -> Position -> Position -> Position -> Position -> Dimension -> Dimension -> IO ()
interface to the X11 library function `XPutImage()`.
destroyImage :: Image -> IO ()
interface to the X11 library function `XDestroyImage()`.
Produced by Haddock version 0.8