AT&T 6300 Programmer's Manual page 196

Gwbasic by microsoft
Hide thumbs Also See for 6300:
Table of Contents

Advertisement

CIRCLE
Statement
7-40
Drawing Rays
The CIRCLE statement can draw a ray from
the center of the arc to either arc endpoint. A
negative endpoint generates a ray to that
endpoint. The endpoint, -0, is not treated as a
negative endpoint. To circumvent this
limitation, use a small negative number (e.g.,
-0.001 instead of -0). When both endpoints
are negative, both rays are drawn. The minus
sign does not affect the arc itself, Le., the
angles will be treated as if they were positive.
Note that this is different from adding 2*PI
(where PI is 3.141593). The start angle may be
greater or less than the end angle. For
example:
100 CIRCLE (100,150],50,1,
-0.001, -3.141593/2
will draw a quarter of a circle delimited by two
rays.
Last Point Referenced
The last point referenced after a circle (or
ellipse) has been drawn is the center of the
circle (or ellipse).
Clipping
Points that are off the screen or the graphics
viewport are not drawn by the CIRCLE
statement.

Advertisement

Table of Contents
loading

Table of Contents