DRAW_ARC
Draws the part of the ellipse of DRAW_ELLIPSE from the angle start to end, in degrees, counted from a towards b. The line is the arc; the fill style draws a pie slice.
Parameters and results
canvasTYPE c0de_paint/cpaint/CANVAS: the canvas (a variable)center,a,bSTRUCT c0de_paint/cpaint/POINT: the points of the ellipsestart,endFLOAT: the anglesline_style,fill_styleTYPE c0de_paint/cpaint/STYLE: the styles (optional)
Example
c0de
CALL c0de_paint/cpaint/DRAW_ARC
PARAMETER canvas c ;
PARAMETER center middle ;
PARAMETER a east ;
PARAMETER b up ;
PARAMETER start 0 ;
PARAMETER end 180 ;
PARAMETER line_style arch ;