| Home
| Previous
| Next
| Up

MGL_getClipRect

Returns the current clipping rectangle.

Declaration

void MGLAPI MGL_getClipRect(
rect_t *clip)

Prototype In

mgraph.h

Parameters

clip | Place to store the current clipping rectangle

Description

Returns the current clipping rectangle coordinates. The current clipping rectangle is used to clip all output, and is always defined as being relative to the currently active viewport. The clipping rectangle can be no larger than the currently active viewport.

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

See Also

MGL_getClipRectDC, MGL_setClipRect, MGL_getClipRegion

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