V = Vector
I = Image
Function that is used to manage the Vector Image feature (object that resides on some Qpaint versions).
The VI10AddPen function adds the command Buffer processing instructions by PEN queued to perform the drawing.
The PEN command need to set the color of the drawing to be made (0= Black , 255=White)
Buffer |
VI10AddPen (awBuffer, Color)
Parameters:
IN/OUT | VARIABLE TYPE | EXAMPLE NAME | DIM | |
---|---|---|---|---|
IN | ARRSYS / ARRGBL | awBuffer | W | Array that serves as a buffer for instructions/data |
IN | CONST/ GLOBAL | Color | W | Variable containing the color you want to set 0 = Black 255 = White |
TASK_00
MAIN: VI10InitBuffer (awBuffer) ;Initializes the Buffer Color = 0 ;Sets the color Black VI10AddPen (awBuffer, Color) ;Adds the command PEN .... WAIT 1 JUMP MAIN END