en:software:qview:qview_6:qcl_library:vi10addcls

This translation is older than the original page and might be outdated. See what has changed.

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

VI10AddCls (awBuffer)

Parameters:

IN/OUTVARIABLE TYPEEXAMPLE NAMEDIM
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).
  • Last modified: 2019/08/29 17:01