Navigation:  C/C++ Scripting Engine > Database Functions >

dbTransform

Previous pageReturn to chapter overviewNext page

This function transforms this object by the specified scale factor and rotation angle. Ellipses and arcs are not affected by the orientation angle because, ellipses must be either horizontally or vertically oriented.  Rectangles are converted to polygons. It is the user's responsibility to scale and rotate instances.

bar_dot

 

Synopsis

void dbTransform( dbObject obj, float scale, float angle )

 

Return Value

None.

 

Parameters

obj  -  Database object

scale  - Scale value (default value is 1.0)

ang  - Angle value in degrees (default value is 0.0)