MGL_setClipRectDC
Sets the current clipping rectangle for a specific DC.
Declaration
void MGLAPI MGL_setClipRectDC(
MGLDC *dc,
rect_t clip)
Prototype In
mgraph.h
Parameters
dc |
Display device context in which the rectangle is located . |
clip |
New clipping rectangle to be used |
Description
This function is the same as MGL_setClipRect, however the device context does not have to be the current device context.
Note: Setting a new clip rectangle with this function clears any existing complex clip region in the device context.
See Also
MGL_setClipRect, MGL_getClipRect, MGL_setViewport, MGL_getViewport, MGL_setClipRegion
Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com