|Portability||portable (depends on GHC)| A set of rectangles
describing areas to be redrawn. - Regions consist of a set of
non-overlapping rectangles. They are used to specify the area of
a window which needs updating. - makeNewRegion :: Ptr Region ->
IO Region - newtype Region = Region (ForeignPtr Region) -
regionNew :: IO Region - data FillRule - regionPolygon ::
[Point] -> FillRule -> IO Region - regionCopy :: Region -> IO
Region - regionRectangle :: Rectangle -> IO Region -
regionGetClipbox :: Region -> IO Rectangle - regionGetRectangles
:: Region -> IO [Rectangle] - regionEmpty :: Region -> IO Bool -
regionEqual :: Region -> Region -> IO Bool - regionPointIn ::
Region -> Point -> IO Bool - data OverlapType - regionRectIn ::
Region -> Rectangle -> IO OverlapType - regionOffset :: Region
-> Int -> Int -> IO () - regionShrink :: Region -> Int -> Int ->
IO () - regionUnionWithRect :: Region -> Rectangle -> IO () -
regionIntersect :: Region -> Region -> IO () - regionUnion ::
Region -> Region -> IO () - regio