|
Graphics.X11.Xlib.Region | Portability | portable | Stability | provisional | Maintainer | libraries@haskell.org |
|
|
|
|
|
Description |
A collection of FFI declarations for interfacing with Xlib Regions.
|
|
Synopsis |
|
|
|
Documentation |
|
data Region |
|
|
type RectInRegionResult = Int |
|
rectangleOut :: RectInRegionResult |
|
rectangleIn :: RectInRegionResult |
|
rectanglePart :: RectInRegionResult |
|
createRegion :: IO Region |
interface to the X11 library function XCreateRegion(). |
|
polygonRegion :: [Point] -> FillRule -> IO Region |
interface to the X11 library function XPolygonRegion(). |
|
intersectRegion :: Region -> Region -> Region -> IO Int |
interface to the X11 library function XIntersectRegion(). |
|
subtractRegion :: Region -> Region -> Region -> IO Int |
interface to the X11 library function XSubtractRegion(). |
|
unionRectWithRegion :: Rectangle -> Region -> Region -> IO Int |
interface to the X11 library function XUnionRectWithRegion(). |
|
unionRegion :: Region -> Region -> Region -> IO Int |
interface to the X11 library function XUnionRegion(). |
|
xorRegion :: Region -> Region -> Region -> IO Int |
interface to the X11 library function XXorRegion(). |
|
emptyRegion :: Region -> IO Bool |
interface to the X11 library function XEmptyRegion(). |
|
equalRegion :: Region -> Region -> IO Bool |
interface to the X11 library function XEqualRegion(). |
|
pointInRegion :: Region -> Point -> IO Bool |
interface to the X11 library function XPointInRegion(). |
|
rectInRegion :: Region -> Rectangle -> IO RectInRegionResult |
interface to the X11 library function XRectInRegion(). |
|
clipBox :: Region -> IO (Rectangle, Int) |
interface to the X11 library function XClipBox(). |
|
offsetRegion :: Region -> Point -> IO Int |
interface to the X11 library function XOffsetRegion(). |
|
shrinkRegion :: Region -> Point -> IO Int |
interface to the X11 library function XShrinkRegion(). |
|
setRegion :: Display -> GC -> Region -> IO Int |
interface to the X11 library function XSetRegion(). |
|
Produced by Haddock version 0.6 |