API Reference > Extension Classes > ExRender Classes > ExGsGradientRender Class > ExGsGradientRender Methods > ExGsGradientRender::setClipRect Method
ExGsGradientRender::setClipRect Method
Syntax
C++
bool setClipRect(const OdGsDCRect& clipRect);
Parameters 
Description 
const OdGsDCRect& clipRect 
[in] Clipping rectangle. 

Sets the clipping rectangle.

If rectangle is bigger than buffer it will be reduced to appropriate size.

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