Differences
This shows you the differences between two versions of the page.
en:software:qview:qview_6:qcl_library:vi10loadimage [2017/03/21 17:27] – created qem103 | en:software:qview:qview_6:qcl_library:vi10loadimage [2019/08/29 17:01] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== VI10LoadImage ====== | ||
+ | |||
+ | **V = **// | ||
+ | |||
+ | **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.\\ | ||
+ | |||
+ | |||
+ | ===== IMPLEMENTATION ===== | ||
+ | |||
+ | **VI10LoadImage (awBuffer, ImageNumber, | ||
+ | |||
+ | Parameters: | ||
+ | |||
+ | ^IN/ | ||
+ | | IN | ARRSYS /\\ ARRGBL | ||
+ | | IN | CONST/\\ GLOBAL | ||
+ | | IN | CONST/\\ GLOBAL | ||
+ | |||
+ | === Example === | ||
+ | |||
+ | //TASK_00// | ||
+ | <code QCL> | ||
+ | MAIN: | ||
+ | |||
+ | VI10InitBuffer (awBuffer) ; | ||
+ | |||
+ | .... | ||
+ | |||
+ | ImageNumber = 1 ;Sets the number of the image to load | ||
+ | VI10LoadImage (awBuffer, ImageNumber, | ||
+ | |||
+ | .... | ||
+ | |||
+ | VI10DrawBuffer(awBuffer) | ||
+ | |||
+ | WAIT 1 | ||
+ | JUMP MAIN | ||
+ | |||
+ | END | ||
+ | </ | ||
+ | |||
+ | === Note === | ||
+ | |||
+ | * The Image objects to display must be placed under the area occupied by the Vectorimage object. | ||
+ | * The image is loaded with top-left corner coincident current coordinate of VectorImage set by the [[.: | ||
+ | * The **ImageNumber** parameter value must be greater than 0 (ZERO). To find the correct value of ImageNumber, | ||
+ | *For the color' | ||