CanvasOutput()
Syntaxe
OutputID = CanvasOutput(#Gadget)Description
Returns the OutputID of a CanvasGadget to perform 2D rendering operation on it.
Arguments
#Gadget Specifies the gadget to draw on. This must be a CanvasGadget().
Valeur de retour
Returns the ouput ID or zero if drawing is not possible. This value should be passed directly to the StartDrawing() function to start the drawing operation. The returnvalue is valid only for one drawing operation and cannot be reused.
Remarks
Drawing on a CanvasGadget() is double-buffered. This means that the drawing operations only become visible at the StopDrawing() command to avoid visible flicker during the drawing.
See Also
StartDrawing(), CanvasGadget()
OS Supportés
Tous