OpenLayer Offline Manual

OpenLayer | Shape | DrawRecord DrawRecord
inline void DrawRecord( | const Rgba &color ) const
Draws the latest record created by calling RecordDraw. If you need to render the primitive the same way many times in a row, it'll be faster to create a record once and draw the same record to the screen several times. Examples Shape *myShape = new Circle(...); // Store the results of the Draw-function to a record // myShape->RecordDraw(); // Draw the record to the screen in black (outputs a black circle to the screen) // myShape->DrawRecord( Rgba::BLACK ); 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 DrawRecord? Click here.