Radio Shack TRS-80 Operation Manual page 20

Hide thumbs Also See for TRS-80:
Table of Contents

Advertisement

Computer Graphics
Operation Manual
- - - - - - - - - - - T R S · B O
® - - - - - - - - - -
Example
l~ CIRCLE(32~,12~),1~~
This example draws a circle.
The radius is
l~~
and the
centerpoint is
(32~,12~).
c
Color
You can set the ON/OFF (white/black) color of a figure's
border and radius lines (see start/end) by specifying a
numeric value of 1 or
~.
If you omit color, BASICG uses 1 (ON/white).
Border
Figure 6. Border of Circle
start/end
Startpoint/Endpoint of Circle
The range for start and end is
~
to 6.283185 (2 x PI).
If you do not enter start and end, the default values of
~
and 6.28 respectively, are used.
A negative start or end value will cause the respective
radius to be drawn in-addition to the arc (i.e., it will
draw a "piece of the pie"). The actual start and endpoints
are determined by taking the absolute value of the specified
start and endpoints.
These values are measured in radians.
Note: Radius will not be drawn if start or end is
-~.
To draw a radius with start or end as
~,
you must use
-~.~~~
•.•
~l.
- - - - - - - - - l I a d l o l h a e l l - - - - - - - - -
-18-

Advertisement

Table of Contents
loading

Table of Contents