MGL_traverseRegion
Traverses a region for all rectangles in definition.
Declaration
void MGLAPI MGL_traverseRegion(
region_t *rgn,
rgncallback_t doRect)
typedef void (MGLAPIP rgncallback_t)(const rect_t *r)
Prototype In
mgraph.h
Parameters
rgn |
Region to traverse |
doRect |
Callback function to call for every rectangle processed |
Description
This function traverses the definition of the region, calling the supplied callback function once for every rectangle in union of rectangles that make up the complex region.
See Also
Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com