Region management
The following functions provide support for managing complex regions, and
generating new complex region primitives. Complex regions are used to
represent 2D arbitrarily complex regions as unions of smaller
rectangles, and can represent shapes with complex outlines, holes in
the middle and even totally disjoint areas. These routines allow you to
create, copy, free and draw such regions, as well as generate regions
with specific shapes that can be combined with other regions to produce
more complex shapes. Once you have created a complex region, you can
make that region the clip region for a device context, allowing you to
perform complex clipping of drawing operations on a device context. You
can also traverse a complex region, which allows you to call a
particular function for every rectangle in the union of rectangles that
make up the complex region.
Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com