Copyright | (c) Alastair Reid 1999-2003 |
---|---|
License | BSD-style (see the file libraries/base/LICENSE) |
Maintainer | libraries@haskell.org |
Stability | provisional |
Portability | portable |
Safe Haskell | None |
Language | Haskell98 |
A collection of FFI declarations for interfacing with Xlib Graphics Contexts.
- 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 -> CInt -> String -> CInt -> IO ()
- setFillRule :: Display -> GC -> FillRule -> IO ()
- setFillStyle :: Display -> GC -> FillStyle -> IO ()
- setFont :: Display -> GC -> Font -> IO ()
- setLineAttributes :: Display -> GC -> CInt -> 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 () 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()
.
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()
.