X11-1.6.0: A binding to the X11 graphics library

Portabilityportable
Stabilityprovisional
Maintainerlibraries@haskell.org, frederik@ofb.net
Safe HaskellSafe-Infered

Graphics.X11.Xlib.Image

Description

Xlib image routines

Synopsis

Documentation

data Image Source

pointer to an X11 XImage structure

createImage :: Display -> Visual -> CInt -> ImageFormat -> CInt -> Ptr CChar -> Dimension -> Dimension -> CInt -> CInt -> IO ImageSource

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().