16.5 Manipulating Regions
Regions are arbitrary sets of pixel locations. Xlib provides functions for manipulating regions. The opaque type
Region
is defined in
X11/Xutil.h.
Xlib provides functions that you can use to manipulate regions. This section discusses how to:
Create, copy, or destroy regions
Move or shrink regions
Compute with regions
Determine if regions are empty or equal
Locate a point or rectangle in a region
Next:
Creating, Copying, or Destroying Regions
Christophe Tronche
,
ch.tronche@computer.org