OpenLayer Offline Manual

OpenLayer | Shape | Point | DrawFast DrawFast
void DrawFast( | const Rgba &color )
A faster version of Draw, but requires to call StartFastDrawing and FinishFastDrawing. Remember that even though using DrawFast is faster than using Draw, it's still not suitable for pixelwise image manipulation, for example. Examples // First start fast drawing // Point::StartFastDrawing(); // Draw a series of points // for( int i = 0; i = 1000; i++ ) { Point( i, i ).DrawFast( Rgba::RED ); } // Finish fast drawing // Point::FinishFastDrawing(); Other functions of the class Point
Draw | Draws the point with the specified color
StartFastDrawing | Call this function before using FastPoint
DrawFast | A faster version of Draw
FinishFastDrawing | Should be called after using DrawFast
Back to the main page of the manual Questions about DrawFast? Click here.