| X11 Libraries (X11 package) | Contents | Index

Graphics.X11.Xlib.Context

Portability | portable
Stability | provisional
Maintainer | libraries@haskell.org

Description
A collection of FFI declarations for interfacing with Xlib Graphics Contexts.
Synopsis

setArcMode :: Display -> GC -> ArcMode -> IO ()
setBackground :: Display -> GC -> Pixel -> IO ()
setForeground :: Display -> GC -> Pixel -> IO ()
setFunction :: Display -> GC -> GXFunction -> IO ()
setGraphicsExposures :: Display -> GC -> Bool -> IO ()
setClipMask :: Display -> GC -> Pixmap -> IO ()
setClipOrigin :: Display -> GC -> Position -> Position -> IO ()
setDashes :: Display -> GC -> Int -> String -> Int -> IO ()
setFillRule :: Display -> GC -> FillRule -> IO ()
setFillStyle :: Display -> GC -> FillStyle -> IO ()
setFont :: Display -> GC -> Font -> IO ()
setLineAttributes :: Display -> GC -> Int -> LineStyle -> CapStyle -> JoinStyle -> IO ()
setPlaneMask :: Display -> GC -> Pixel -> IO ()
setState :: Display -> GC -> Pixel -> Pixel -> GXFunction -> Pixel -> IO ()
setStipple :: Display -> GC -> Pixmap -> IO ()
setSubwindowMode :: Display -> GC -> SubWindowMode -> IO ()
setTSOrigin :: Display -> GC -> Position -> Position -> IO ()
setTile :: Display -> GC -> Pixmap -> IO ()
createGC :: Display -> Drawable -> IO GC
gContextFromGC :: GC -> GContext
freeGC :: Display -> GC -> IO ()
flushGC :: Display -> GC -> IO ()
copyGC :: Display -> GC -> Mask -> GC -> IO ()

Documentation
setArcMode :: Display -> GC -> ArcMode -> IO ()
interface to the X11 library function `XSetArcMode()`.
setBackground :: Display -> GC -> Pixel -> IO ()
interface to the X11 library function `XSetBackground()`.
setForeground :: Display -> GC -> Pixel -> IO ()
interface to the X11 library function `XSetForeground()`.
setFunction :: Display -> GC -> GXFunction -> IO ()
interface to the X11 library function `XSetFunction()`.
setGraphicsExposures :: Display -> GC -> Bool -> IO ()
interface to the X11 library function `XSetGraphicsExposures()`.
setClipMask :: Display -> GC -> Pixmap -> IO ()
interface to the X11 library function `XSetClipMask()`.
setClipOrigin :: Display -> GC -> Position -> Position -> IO ()
interface to the X11 library function `XSetClipOrigin()`.
setDashes :: Display -> GC -> Int -> String -> Int -> IO ()
interface to the X11 library function `XSetDashes()`.
setFillRule :: Display -> GC -> FillRule -> IO ()
interface to the X11 library function `XSetFillRule()`.
setFillStyle :: Display -> GC -> FillStyle -> IO ()
interface to the X11 library function `XSetFillStyle()`.
setFont :: Display -> GC -> Font -> IO ()
interface to the X11 library function `XSetFont()`.
setLineAttributes :: Display -> GC -> Int -> LineStyle -> CapStyle -> JoinStyle -> IO ()
interface to the X11 library function `XSetLineAttributes()`.
setPlaneMask :: Display -> GC -> Pixel -> IO ()
interface to the X11 library function `XSetPlaneMask()`.
setState :: Display -> GC -> Pixel -> Pixel -> GXFunction -> Pixel -> IO ()
interface to the X11 library function `XSetState()`.
setStipple :: Display -> GC -> Pixmap -> IO ()
interface to the X11 library function `XSetStipple()`.
setSubwindowMode :: Display -> GC -> SubWindowMode -> IO ()
interface to the X11 library function `XSetSubwindowMode()`.
setTSOrigin :: Display -> GC -> Position -> Position -> IO ()
interface to the X11 library function `XSetTSOrigin()`.
setTile :: Display -> GC -> Pixmap -> IO ()
interface to the X11 library function `XSetTile()`.
createGC :: Display -> Drawable -> IO GC
partial interface to the X11 library function `XCreateGC()`.
gContextFromGC :: GC -> GContext
interface to the X11 library function `XGContextFromGC()`.
freeGC :: Display -> GC -> IO ()
interface to the X11 library function `XFreeGC()`.
flushGC :: Display -> GC -> IO ()
interface to the X11 library function `XFlushGC()`.
copyGC :: Display -> GC -> Mask -> GC -> IO ()
interface to the X11 library function `XCopyGC()`.
Produced by Haddock version 0.7