API Reference > Extension Classes > ExRender Classes > ExGsGradientRender Class > ExGsGradientRender Methods > ExGsGradientRender::setOrigin Method
ExGsGradientRender::setOrigin Method
Syntax
C++
void setOrigin(const OdGePoint2d& origin);
Parameters 
Description 
const OdGePoint2d& origin 
[in] Origin point. 

Maps the buffer point (0,0) to the origin.

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