278
User's
Handbook
to the Atari 400/800 Computers
DRAWTO
The
ORAWTO
statement
is
used
to
draw a straight line
from
the
last
point
displayed by a PLOT statement
or
another
ORAWTO
statement
to
the
point
given
as
its argument.
ORAWTO
uses
the
following
configuration,
ORA
WTO
column, row
where
column and row specify the screen position
where
the
line
is
to
be
drawn
to.
The
line
will
be
drawn
in
the
color
register specified by the last
COLOR
statement.
If
no
COLOR
statement had been previously
executed,
the
background
color
will
be used.
Although
ORAWTO
is
generally used in graphics modes 3
through
8,
the statement can also be used in graphics modesO, 1,
and
2.
In these
mode
s,
the
line
drawn
will
consist
of
characters
rather than points.
In graphics modes 1 and
2,
the
numeric
expression specified
with
the
last
COLOR
statement
will
determine
the character used
to
compose
the
line
as
well
as
the
color
register used
for
the
line
color.
In graphics modeO,
the
numeric
expression specified
with
the
last
COLOR
statement
will
determine
just the character used
to
compose
the
line.
COLOR
Owill
be
used by
default
to
determine
the character (and
color)
if
a
COLOR
statement had
not
been executed since the
computer
had been
turned
on.
Graphics
Modes
3 Through 8
In graphics modes 3
through
8, points,
line
s,
and solid areas are
displayed
as
opposed
to
characters. The
number
of
lines on the
display screen,
number
of
points per line,
point
size, and
number
of
color
registers available differs
among
modes 3
through
8. These
diff
erences are summarized in Table 9-8.