X11-1.6.0.2: A binding to the X11 graphics library

Portabilityportable
Stabilityprovisional
Maintainerlibraries@haskell.org
Safe HaskellNone

Graphics.X11.Xlib.Region

Description

A collection of FFI declarations for interfacing with Xlib Regions.

Synopsis

Documentation

createRegion :: IO RegionSource

interface to the X11 library function XCreateRegion().

polygonRegion :: [Point] -> FillRule -> IO RegionSource

interface to the X11 library function XPolygonRegion().

intersectRegion :: Region -> Region -> Region -> IO CIntSource

interface to the X11 library function XIntersectRegion().

subtractRegion :: Region -> Region -> Region -> IO CIntSource

interface to the X11 library function XSubtractRegion().

unionRectWithRegion :: Rectangle -> Region -> Region -> IO CIntSource

interface to the X11 library function XUnionRectWithRegion().

unionRegion :: Region -> Region -> Region -> IO CIntSource

interface to the X11 library function XUnionRegion().

xorRegion :: Region -> Region -> Region -> IO CIntSource

interface to the X11 library function XXorRegion().

emptyRegion :: Region -> IO BoolSource

interface to the X11 library function XEmptyRegion().

equalRegion :: Region -> Region -> IO BoolSource

interface to the X11 library function XEqualRegion().

pointInRegion :: Region -> Point -> IO BoolSource

interface to the X11 library function XPointInRegion().

rectInRegion :: Region -> Rectangle -> IO RectInRegionResultSource

interface to the X11 library function XRectInRegion().

clipBox :: Region -> IO (Rectangle, CInt)Source

interface to the X11 library function XClipBox().

offsetRegion :: Region -> Point -> IO CIntSource

interface to the X11 library function XOffsetRegion().

shrinkRegion :: Region -> Point -> IO CIntSource

interface to the X11 library function XShrinkRegion().

setRegion :: Display -> GC -> Region -> IO CIntSource

interface to the X11 library function XSetRegion().