Differences
This shows you the differences between two versions of the page.
en:software:qview:qview_6:qcl_library:vi10addcls [2017/03/16 17:01] – created qem103 | en:software:qview:qview_6:qcl_library:vi10addcls [2019/08/29 17:01] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== VI10AddCls ====== | ||
+ | |||
+ | **V = **// | ||
+ | |||
+ | **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| | ||
+ | |{{: | ||
+ | |||
+ | ===== IMPLEMENTATION ===== | ||
+ | |||
+ | **VI10AddCls (awBuffer)** | ||
+ | |||
+ | Parameters: | ||
+ | |||
+ | ^IN/ | ||
+ | | IN | ARRSYS /\\ ARRGBL | ||
+ | |||
+ | === Example === | ||
+ | |||
+ | //TASK_00// | ||
+ | <code QCL> | ||
+ | MAIN: | ||
+ | |||
+ | VI10InitBuffer (awBuffer) ; | ||
+ | |||
+ | VI10AddCls (awBuffer) | ||
+ | |||
+ | .... | ||
+ | |||
+ | 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). | ||