X11-1.2: A binding to the X11 graphics librarySource codeContentsIndex
Graphics.X11.Xlib.Region
Portabilityportable
Stabilityprovisional
Maintainerlibraries@haskell.org
Description
A collection of FFI declarations for interfacing with Xlib Regions.
Synopsis
data Region
type RectInRegionResult = Int
rectangleOut :: RectInRegionResult
rectangleIn :: RectInRegionResult
rectanglePart :: RectInRegionResult
createRegion :: IO Region
polygonRegion :: [Point] -> FillRule -> IO Region
intersectRegion :: Region -> Region -> Region -> IO Int
subtractRegion :: Region -> Region -> Region -> IO Int
unionRectWithRegion :: Rectangle -> Region -> Region -> IO Int
unionRegion :: Region -> Region -> Region -> IO Int
xorRegion :: Region -> Region -> Region -> IO Int
emptyRegion :: Region -> IO Bool
equalRegion :: Region -> Region -> IO Bool
pointInRegion :: Region -> Point -> IO Bool
rectInRegion :: Region -> Rectangle -> IO RectInRegionResult
clipBox :: Region -> IO (Rectangle, Int)
offsetRegion :: Region -> Point -> IO Int
shrinkRegion :: Region -> Point -> IO Int
setRegion :: Display -> GC -> Region -> IO Int
Documentation
data Region Source
show/hide Instances
type RectInRegionResult = IntSource
rectangleOut :: RectInRegionResultSource
rectangleIn :: RectInRegionResultSource
rectanglePart :: RectInRegionResultSource
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 IntSource
interface to the X11 library function XIntersectRegion().
subtractRegion :: Region -> Region -> Region -> IO IntSource
interface to the X11 library function XSubtractRegion().
unionRectWithRegion :: Rectangle -> Region -> Region -> IO IntSource
interface to the X11 library function XUnionRectWithRegion().
unionRegion :: Region -> Region -> Region -> IO IntSource
interface to the X11 library function XUnionRegion().
xorRegion :: Region -> Region -> Region -> IO IntSource
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, Int)Source
interface to the X11 library function XClipBox().
offsetRegion :: Region -> Point -> IO IntSource
interface to the X11 library function XOffsetRegion().
shrinkRegion :: Region -> Point -> IO IntSource
interface to the X11 library function XShrinkRegion().
setRegion :: Display -> GC -> Region -> IO IntSource
interface to the X11 library function XSetRegion().
Produced by Haddock version 2.1.0