API Reference > Extension Classes > ExRender Classes > ExRender Windows Classes > ExGiGDIGeometry Class > ExGiGDIGeometry Methods > pushViewportClip Method > ExGiGDIGeometry::pushViewportClip Method (OdGsDCPoint*, int *, int)
ExGiGDIGeometry::pushViewportClip Method (OdGsDCPoint*, int *, int)
Syntax
C++
void pushViewportClip(const OdGsDCPoint* points, const int * pointCounts, int numPolygons);
Parameters 
Description 
const OdGsDCPoint* points 
[in] Array of points defining the polygonal clip boundary.  
const int * pointCounts 
[in] Array of integers specifying the number of points in each polygon.  
int 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.