|
|
|
|
MGL_setClipRegionDC
Sets the current complex clipping region for a specific DC.
Declaration
void MGLAPI MGL_setClipRegionDC(
MGLDC *dc,
region_t *region)
Prototype In
mgraph.h
Parameters
dc |
Display device context in which the region is located . |
region |
New complex clipping region to be used |
Description
This function sets the current complex clipping region for the specified device context. Complex clip regions are defined as unions of rectangles, and allow all rendering functions in the MGL to be clipped to arbitrary regions on the screen. Setting a complex clip region override the current setting for a simple clip rectangle. The complex clip region is used to clip all output, and is always defined as being relative to the currently active viewport. The clipping region can be no larger than the currently active viewport, and will be truncated if an attempt is made to allow clipping outside of the active viewport.
See Also
MGL_setClipRegion, MGL_getClipRegion, MGL_setViewport, MGL_getViewport, MGL_setClipRect
Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com