Sharp MZ-700 Series Owner's Manual page 92

Personal computer
Hide thumbs Also See for MZ-700 Series:
Table of Contents

Advertisement

2.7.6.9 CIRCLE
Format
Function
Example
(abbreviated format: CI.)
CIRCLE x, y, r, s, e, d
x, y
Location of the center ( - 9 9 9 to 999)
r
Radius (0 to 999)
s
Starting angle (in degree)
e
Ending angle (in degree)
d
Step angle (in degree)
This statement draws a circle or arc with a radius of r and a step of d at location
(x, y), starting at angle S and ending at angle e. A complete circle is drawn when
s = 0, e = 360 and d = 0.2.
Actually this statement draws a polygon; therefore, d must be as small as possible in
order to draw a smooth figure.
s must be smaller than e. When d = 0, lines connecting the center and the starting
point and the center and the ending point are drawn.
1 0
M O D E
G R
2 0
L I N E
4 8 0 , 0 , 4 8 0 , - 4 8 0 ,
0 , - 4 8 0 ,
0 ,
0
M O V E
2 4 0 ,
- 2 4 0
H S E T
0 , 0 , 2 4 0 , 0 , 3 6 0 ,
0 .
2
2 4 0 , 0 , 2 4 0 , 9 0 , 2 7 0 , 0 .
2
0 , 2 4 0 ,
2 4 0 ,
1 8 0 , 3 6 0 ,
0 .
2
- 2 4 0 ,
0 , 2 4 0 ,
2 7 0 , 4 5 0 , 0 .
2
0 , - 2 4 0 ,
2 4 0 , 0 , 1 8 0 , 0 .
2
T N
3 0
4 0
5 0
60
7 0
80
9 0
C
C
C
C
C
R O L E
R O L E
R O L E
R O L E
R O L E
1 0 0
M O D E
90-

Advertisement

Table of Contents
loading

Table of Contents