Differences
This shows you the differences between two versions of the page.
en:software:qview:qview_6:qcl_library:vi10addpoint [2017/03/20 16:26] – created qem103 | en:software:qview:qview_6:qcl_library:vi10addpoint [2019/08/29 17:01] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== VI10AddPoint ====== | ||
+ | |||
+ | **V = **// | ||
+ | |||
+ | **I = **//Image// | ||
+ | |||
+ | Function that is used to manage the Vector Image feature (object that resides on some Qpaint versions). | ||
+ | |||
+ | The VI10AddPoint function __Adds the command POINT queued instructions to be processed into the Buffer to perform the drawing__.\\ | ||
+ | The POINT command print a point within the area of the Vector Image, at coordinates passed as an argument. The same coordinates are also set as current coordinates. | ||
+ | |||
+ | |Buffer| | ||
+ | |{{: | ||
+ | |||
+ | ===== IMPLEMENTATION ===== | ||
+ | |||
+ | **VI10AddPoint (awBuffer, Coord_X, Coord_Y)** | ||
+ | |||
+ | Parameters: | ||
+ | |||
+ | ^IN/ | ||
+ | | IN | ARRSYS /\\ ARRGBL | ||
+ | | IN | CONST/\\ GLOBAL | ||
+ | | IN | CONST/\\ GLOBAL | ||
+ | |||
+ | === Example === | ||
+ | |||
+ | //TASK_00// | ||
+ | <code QCL> | ||
+ | MAIN: | ||
+ | |||
+ | VI10InitBuffer (awBuffer) ; | ||
+ | |||
+ | VI10AddPen (awBuffer, Color) ; | ||
+ | |||
+ | Coord_X = 15 ;The X-coordinate where to draw the point | ||
+ | |||
+ | Coord_Y = 35 ;The Y-coordinate where to draw the point | ||
+ | |||
+ | VI10AddPoint (awBuffer, Coord_X, Coord_Y) ; | ||
+ | |||
+ | .... | ||
+ | |||
+ | WAIT 1 | ||
+ | JUMP MAIN | ||
+ | |||
+ | END | ||
+ | </ | ||
+ | |||
+ | === Note === | ||