Mnemonics
'ARC' Define/Draw Arc
GUI Display/Printer
 
Format 'ARC'(x,y,radius,aspect,angle_1,angle_2)
 
Where:
 
angle_1 Starting angle, in degrees. Numeric expression.
angle_2 Ending angle, in degrees. Numeric expression.
aspect Aspect ratio / viewpoint. (Ratio=1 results in no tilt.) Numeric expression.
radius Radius of the circle, in graphical units. Numeric expression.
x,y Coordinates for the centre of the drawing, in graphical units. Numeric expression.
 
Description Use 'ARC' to draw (print) an arc on the device. Use graphical units or @X(col) and
@Y(line) functions for x, y, and radius. The arc will extend from the starting angle1
to angle2. The 'ARC' mnemonic uses the current 'PEN' attributes.
 
Example The example below draws two different-coloured arcs. Aspect ratio=3 tilts the resulting drawing into an elliptical "shape". (Since this ellipsis is really two arcs as opposed to an enclosed shape, 'FILL' attributes do not apply.) Aspect ratio=1 would join the arcs in a circular shape instead.
 
0060 PRINT 'PEN'(1,3,1)
0070 PRINT 'ARC'(800,250,75,3,1,75)
0080 PRINT 'PEN'(
0090 PRINT 'ARC'(800,250,75,3,75,1)