MGL_getClipRectDC

Returns the current clipping rectangle for a specific DC.

Declaration

void MGLAPI MGL_getClipRectDC(
    MGLDC *dc,
    rect_t *clip)

Prototype In

mgraph.h

Parameters

dc

Display device context in which the rectangle is defined

clip

Place to store the current clipping rectangle

 

Description

This function is the same as MGL_getClipRect, however the device context does not have to be the current device context.

Note:    If a complex clip region is currently active, this function returns the bounding rectangle for the complex clip region.

See Also

MGL_getClipRect, MGL_setClipRect, MGL_getClipRegion

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