VI10AddCls
V = Vector
I = Image
Function that is used to manage the Vector Image feature (object that resides on some Qpaint versions).
The VI10AddCls function adds the CLS command queued to the instructions to be processed into the Buffer to perform the drawing.
The CLS command (Clear Screen) clear the area of the Vector Image.
Buffer |
IMPLEMENTATION
VI10AddCls (awBuffer)
Parameters:
IN/OUT | VARIABLE TYPE | EXAMPLE NAME | DIM | |
---|---|---|---|---|
IN | ARRSYS / ARRGBL | awBuffer | W | Array that serves as a buffer for instructions/data |
Example
TASK_00
MAIN: VI10InitBuffer (awBuffer) ;Initializes the Buffer VI10AddCls (awBuffer) ;Adds the CLS command .... WAIT 1 JUMP MAIN END
Note
-
The CLS command clears the area of the Vector Image, sets the current coordinate to 0.0 and the draw-color to DIRECT (=255, white on white background).