V = Vector
I = Image
Function that is used to manage the Vector Image feature (object that resides on some Qpaint versions).
The VI10LoadImage function adds the LoadImage command queued to the instructions to be processed into the Buffer to perform the drawing.
The LoadImage command allows you to load, on the active layer, the bitmap image associated with an Image object that is below the area occupied by the object VectorImage.
VI10LoadImage (awBuffer, ImageNumber, TanspColor)
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 | ImageNumber | W | Variable containing the number of the Image object to load the associated image Min. 1 |
IN | CONST/ GLOBAL | TanspColor | W | Variable containing the code color to treat as transparent. If sets to -1 It is considered the background value set by VI10SetBackground command |
TASK_00
MAIN: VI10InitBuffer (awBuffer) ;Initializes the Buffer .... ImageNumber = 1 ;Sets the number of the image to load VI10LoadImage (awBuffer, ImageNumber, -1) ;Adds the command .... VI10DrawBuffer(awBuffer) WAIT 1 JUMP MAIN END