OpenLayer Offline Manual

OpenLayer | Shape | TransformBy TransformBy
void TransformBy( | const Placement &placement )
Transforms the shape by a Placement Examples Circle circle( ... ); // Move the circle 20 pixels to the right and rotate it 90 decrees // circle.TransformBy( Placement( 20.0, 0.0, AL_PI/2 )); Other functions of the class Shape
Draw | Draws the shape filled with the specified color
DrawOutline | Draws the outline of the shape
RecordDraw | Records the results of Draw-function
MoveBy | Moves the shape
SetLineWidth | Sets the width of the outline of the shape
GetLineWidth | Returns the width of the outline of the shape
DrawRecord | Draws the latest record created by RecordDraw
RotateBy | Rotates the shape by the specified angle
TransformBy | Transforms the shape by a Placement
Back to the main page of the manual Questions about TransformBy? Click here.