V = Vector
I = Image
Function that is used to manage the Vector Image feature (object that resides on some Qpaint versions).
The VI10ExtractDimension function allows to extract from the Buffer instructions, and the width and height of the VectorImage object.
This function of the always run after a VI10GetDimension command.
VI10ExtractDimension (awBuffer, awWidth, awHeight)
Parameters:
IN/OUT | VARIABLE TYPE | EXAMPLE NAME | DIM | |
---|---|---|---|---|
IN | ARRSYS / ARRGBL | awBuffer | W | Array that serves as a buffer for instructions/data |
OUT | GLOBAL | awWidth | W | Variable containing the pixel width of the VectorImage object |
OUT | GLOBAL | awHeight | W | Variable containing the pixel height of the VectorImage object |
TASK_00
MAIN: VI10InitBuffer(awBuffer) VI10GetDimension(awBuffer) VI10DrawBuffer(awBuffer) VI11WaitBufferReadyUsingWAIT(awBuffer) VI10ExtractDimension(awBuffer, awWidth, awHeight) VI10InitBuffer(awBuffer) END