Copyright | (c) Frederik Eaton 2006 |
---|---|
License | BSD-style (see the file libraries/base/LICENSE) |
Maintainer | libraries@haskell.org, frederik@ofb.net |
Stability | provisional |
Portability | portable |
Safe Haskell | None |
Language | Haskell98 |
Xlib image routines
- 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 ()
- getImage :: Display -> Drawable -> CInt -> CInt -> CUInt -> CUInt -> CULong -> ImageFormat -> IO Image
- xGetPixel :: Image -> CInt -> CInt -> IO CULong
- getPixel :: Image -> CInt -> CInt -> CULong
Documentation
pointer to an X11 XImage
structure
createImage :: Display -> Visual -> CInt -> ImageFormat -> CInt -> Ptr CChar -> Dimension -> Dimension -> CInt -> CInt -> IO Image Source #
interface to the X11 library function XCreateImage()
.
putImage :: Display -> Drawable -> GC -> Image -> Position -> Position -> Position -> Position -> Dimension -> Dimension -> IO () Source #
interface to the X11 library function XPutImage()
.
destroyImage :: Image -> IO () Source #
interface to the X11 library function XDestroyImage()
.