API Reference > OdGe Classes > OdGeMatrix2d Class > OdGeMatrix2d Methods > OdGeMatrix2d::setToScaling Method
OdGeMatrix2d::setToScaling Method
Syntax
C++
OdGeMatrix2d& setToScaling(double scale, const OdGePoint2d& center = OdGePoint2d::kOrigin);
Parameters 
Description 
double scale 
[in] Scale factor.  
const OdGePoint2d& center = OdGePoint2d::kOrigin 
[in] Center of scaling. 

Sets this matrix to the matrix which scales by scale about center, and returns a reference to this matrix. 

 

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