API Reference > Extension Classes > ExRender Classes > ExRender Windows Classes > ExGiGDIGeometry Class > ExGiGDIGeometry Methods > pushViewportClip Method > ExGiGDIGeometry::pushViewportClip Method (OdUInt32, OdGsDCRect*)
ExGiGDIGeometry::pushViewportClip Method (OdUInt32, OdGsDCRect*)
Syntax
C++
void pushViewportClip(OdUInt32 nNumRects, const OdGsDCRect* rects);
Parameters 
Description 
min 
[in] Lower-left corner of clip boundary.  
max 
[in] Upper-right corner of clip boundary.  
points 
[in] Array of points defining the polygonal clip boundary.  
pointCounts 
[in] Array of integers specifying the number of points in each polygon.  
numPolygons 
[in] Number of polygons. 

Pushes the current device context onto the stack, and creates a new clip boundary.

If a two-vertex polygon is specified, the vertices specify the lower-left and upper-right corners of the clip boundary.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.