|
| Graphics.UI.Gtk.Gdk.Region | | Portability | portable (depends on GHC) | | Stability | provisional | | Maintainer | gtk2hs-users@lists.sourceforge.net |
|
|
|
| Description |
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.
|
|
| Synopsis |
|
|
|
| Documentation |
|
|
|
|
|
|
|
| Create an empty region.
|
|
|
Specify how to interpret a polygon.
- The flag determines what happens if a polygon has overlapping areas.
| | Constructors | |
|
|
|
| Convert a polygon into a Region.
|
|
|
| Copy a Region.
|
|
|
| Convert a rectangle to a Region.
|
|
|
| Smallest rectangle including the
Region.
|
|
|
Turn the Region into its rectangles.
A Region is a set of horizontal bands. Each band consists of one or more
rectangles of the same height. No rectangles in a band touch.
|
|
|
| Test if a Region is empty.
|
|
|
| Compares two Regions for equality.
|
|
|
| Checks if a point it is within a region.
|
|
|
| How a rectangle is contained in a Region.
| | Constructors | | OverlapRectangleIn | | | OverlapRectangleOut | | | OverlapRectanglePart | |
|
|
|
|
| Check if a rectangle is within a region.
|
|
|
| Move a region.
|
|
|
Move a region.
- Positive values shrink the region, negative values expand it.
|
|
|
| Updates the region to include the rectangle.
|
|
|
Intersects one region with another.
- Changes reg1 to include the common areas of reg1
and reg2.
|
|
|
Unions one region with another.
- Changes reg1 to include reg1 and reg2.
|
|
|
Removes pars of a Region.
- Reduces the region reg1 so that is does not include any areas
of reg2.
|
|
|
XORs two Regions.
- The exclusive or of two regions contains all areas which were not
overlapping. In other words, it is the union of the regions minus
their intersections.
|
|
| Produced by Haddock version 2.6.0 |