API Reference > OdGe Classes > OdGeEntity2d Class > OdGeEntity2d Methods > OdGeEntity2d::scaleBy Method
OdGeEntity2d::scaleBy Method
Syntax
C++
OdGeEntity2d& scaleBy(double scaleFactor, const OdGePoint2d& basePoint = OdGePoint2d::kOrigin);
Parameters 
Description 
double scaleFactor 
[in] Scale Factor. The scale factor must be greater than zero.  
const OdGePoint2d& basePoint = OdGePoint2d::kOrigin 
[in] Basepoint. 

Scales this entity by the scale factor about the basepoint, and returns a reference to this entity. 

 

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