OpenLayer Offline Manual

OpenLayer | Placement | StretchBy StretchBy
void StretchBy( | float factor )
Multiplies the stretching value of the Position by the specified amount. Examples Placement myPlacement( Vec2D( 250.0, 100.0 ), 0.5 * AL_PI ); // Multiply the stretching value of the Position by 1.5 // myPlacement.StretchBy( 1.5 ); Other functions of the class Placement
MoveBy | Moves the Placement
RotateBy | Rotates the Placement
StretchBy | Stretches the Position
GetDistance | Returns the distance between this Placement and an another one
SetPosition | Sets the position value of the Placement
GetPosition | Returns the position value of the Placement
SetRotation | Sets the rotation angle of the Placement
GetRotation | Returns the rotation angle of the Placement
SetStretch | Sets the stretching factor of the Placement
GetStretch | Returns the stretching factor of the Placement
Back to the main page of the manual Questions about StretchBy? Click here.