API Reference > Extension Classes > ExRender Classes > ExRender Windows Classes > ExGiGDIGeometry Class > ExGiGDIGeometry Methods > pushViewportClip Method > ExGiGDIGeometry::pushViewportClip Method (OdGsDCPoint&, OdGsDCPoint&)
ExGiGDIGeometry::pushViewportClip Method (OdGsDCPoint&, OdGsDCPoint&)
Syntax
C++
void pushViewportClip(const OdGsDCPoint& min, const OdGsDCPoint& max);
Parameters 
Description 
const OdGsDCPoint& min 
[in] Lower-left corner of clip boundary.  
const OdGsDCPoint& max 
[in] Upper-right corner of clip boundary. 

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.