MGL_getClipRegionDC

Returns the current complex clipping region for a specific DC.

Declaration

void MGLAPI MGL_getClipRegionDC(
    MGLDC *dc,
    region_t *region)

Prototype In

mgraph.h

Parameters

dc

Device context to get clip region for

region

Place to store the current complex clipping region

 

Description

Returns the current complex clipping region for the specific device context. This function works even if no complex clip region is active, and only a simple clip rectangle is in use. In this case, the resulting clip region is a simple region that contains only the clip rectangle for the device context.

See Also

MGL_getClipRegion, MGL_setClipRegion, MGL_setClipRect

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com