Differences
This shows you the differences between two versions of the page.
en:software:qview:qview_6:qcl_library:vi10addcircle [2017/03/20 17:15] – created qem103 | en:software:qview:qview_6:qcl_library:vi10addcircle [2019/08/29 17:01] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== VI10AddCircle ====== | ||
+ | |||
+ | **V = **// | ||
+ | |||
+ | **I = **//Image// | ||
+ | |||
+ | Function that is used to manage the Vector Image feature (object that resides on some Qpaint versions). | ||
+ | |||
+ | The VI10AddCircle function __add the CIRCLE control point in the queue to be processed instructions in the Buffer to perform the drawing__.\\ | ||
+ | The CIRCLE command creates a circle with Center positioned at coordinates and radius equal to the current parameter " | ||
+ | The same coordinates passed to the function, it also set then as current coordinates. | ||
+ | |||
+ | |Buffer| | ||
+ | |{{: | ||
+ | |||
+ | ===== IMPLEMENTATION ===== | ||
+ | |||
+ | **VI10AddCircle (awBuffer, Radius, Fill)** | ||
+ | |||
+ | Parameters: | ||
+ | |||
+ | ^IN/ | ||
+ | | IN | ARRSYS /\\ ARRGBL | ||
+ | | IN | CONST/\\ GLOBAL | ||
+ | | IN | CONST/\\ GLOBAL | ||
+ | |||
+ | === Example === | ||
+ | |||
+ | //TASK_00// | ||
+ | <code QCL> | ||
+ | MAIN: | ||
+ | |||
+ | VI10InitBuffer (awBuffer) ; | ||
+ | |||
+ | VI10AddPen (awBuffer, Color) ; | ||
+ | |||
+ | VI10AddMove (awBuffer, Coord_X, Coord_Y) ; | ||
+ | |||
+ | Radius = 20 ; | ||
+ | |||
+ | Fill = 0 ;Sets the secure area not filled | ||
+ | |||
+ | VI10AddCircle (awBuffer, Radius, Fill) ; | ||
+ | |||
+ | .... | ||
+ | |||
+ | WAIT 1 | ||
+ | JUMP MAIN | ||
+ | |||
+ | END | ||
+ | </ | ||
+ | |||
+ | === Note === | ||