StartDrawing()
Syntax
Result = StartDrawing(OutputID)Description
Change the current drawing output to the specified output. After setting this, all drawing functions are rendered to this output. Once all drawing operations are finished, StopDrawing() must be called.
The 'Result' should be always evaluated before proceeding with drawing operations. If the 'Result' is zero, then the output can't be used for drawing, else it's ok to commence drawing.
The back color is set to black (ie: RGB(0,0,0)) and the front color is set to white (ie: RGB(255,255,255)).
OutputID can be obtained with the following functions:WindowOutput() : Graphics will be rendered directly on the Window ScreenOutput() : Graphics will be rendered directly on the Screen (for games) SpriteOutput() : Graphics will be rendered directly on the Sprite (for games) ImageOutput() : Graphics will be rendered directly on the Image data (see CreateImage()) PrinterOutput() : Graphics will be rendered directly on the Printer
Supported OS
All