X11-1.10.2.9: A binding to the X11 graphics library
Copyright(c) Alastair Reid 1999-2003
LicenseBSD-style (see the file libraries/base/LICENSE)
Maintainerlibraries@haskell.org
Stabilityprovisional
Portabilityportable
Safe HaskellNone
LanguageHaskell98

Graphics.X11.Xlib.Context

Description

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

Synopsis

Documentation

setArcMode :: Display -> GC -> ArcMode -> IO () Source #

interface to the X11 library function XSetArcMode().

setBackground :: Display -> GC -> Pixel -> IO () Source #

interface to the X11 library function XSetBackground().

setForeground :: Display -> GC -> Pixel -> IO () Source #

interface to the X11 library function XSetForeground().

setFunction :: Display -> GC -> GXFunction -> IO () Source #

interface to the X11 library function XSetFunction().

setGraphicsExposures :: Display -> GC -> Bool -> IO () Source #

interface to the X11 library function XSetGraphicsExposures().

setClipMask :: Display -> GC -> Pixmap -> IO () Source #

interface to the X11 library function XSetClipMask().

setClipOrigin :: Display -> GC -> Position -> Position -> IO () Source #

interface to the X11 library function XSetClipOrigin().

setDashes :: Display -> GC -> CInt -> String -> CInt -> IO () Source #

interface to the X11 library function XSetDashes().

setFillRule :: Display -> GC -> FillRule -> IO () Source #

interface to the X11 library function XSetFillRule().

setFillStyle :: Display -> GC -> FillStyle -> IO () Source #

interface to the X11 library function XSetFillStyle().

setFont :: Display -> GC -> Font -> IO () Source #

interface to the X11 library function XSetFont().

setLineAttributes :: Display -> GC -> CInt -> LineStyle -> CapStyle -> JoinStyle -> IO () Source #

interface to the X11 library function XSetLineAttributes().

setPlaneMask :: Display -> GC -> Pixel -> IO () Source #

interface to the X11 library function XSetPlaneMask().

setState :: Display -> GC -> Pixel -> Pixel -> GXFunction -> Pixel -> IO () Source #

interface to the X11 library function XSetState().

setStipple :: Display -> GC -> Pixmap -> IO () Source #

interface to the X11 library function XSetStipple().

setSubwindowMode :: Display -> GC -> SubWindowMode -> IO () Source #

interface to the X11 library function XSetSubwindowMode().

setTSOrigin :: Display -> GC -> Position -> Position -> IO () Source #

interface to the X11 library function XSetTSOrigin().

setTile :: Display -> GC -> Pixmap -> IO () Source #

interface to the X11 library function XSetTile().

createGC :: Display -> Drawable -> IO GC Source #

partial interface to the X11 library function XCreateGC().

gContextFromGC :: GC -> GContext Source #

interface to the X11 library function XGContextFromGC().

freeGC :: Display -> GC -> IO () Source #

interface to the X11 library function XFreeGC().

flushGC :: Display -> GC -> IO () Source #

interface to the X11 library function XFlushGC().

copyGC :: Display -> GC -> Mask -> GC -> IO () Source #

interface to the X11 library function XCopyGC().