EasyManuals Logo
Home>Atari>Desktop>XL

Atari XL User Manual

Atari XL
262 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #149 background imageLoading...
Page #149 background image
Graphics
139
the
XL
draws
a
line
from
the
posi
tion
of
the
last
PLOT
or
DRAWTO
to
the
point
specified
by
the
coordinates
after
the
DRA
WTO
command.
You
now
know
enough
to
produce
line
drawings
of
all
kinds.
Try
a few
experiments.
This
program
produces
a
lacy
pattern
by
drawing
lines
close
together
on
the
mode
7
display,
which
has
twice
as
many
rows
and
columns
as
the
mode
5
display
but
is
otherwise
the
same.
10
REM
LACE
20
GRAPHICS 7
30
COLOR
1
40 FOR
X=O
TO
159
STEP 2
50
PLOT
79,
0
60
DRAWTO
X, 79
70
NEXT
X
Filling
in
the
Colours
As
well
as
drawing
points
and
lines
on
the
screen,
you
can
fill
in
areas
of
colour.
The
command
used
is
XIO,
but
to fill
in
an
area
you
must
first
define
the
outline
of
the
shape.
The
sequence
is
as
follows:
1
PLOT
the
bottom
right-hand
corner
of
the
shape
to be filled.
2
DRAWTO
the
top
right-hand
corner.
3
DRAWTO
the
top
left-hand
corner.
4
Use
POSITION
to
define
the
bottom
left-hand
corner
of
the
shape.
5
POKE
the
number
of
the
colour
you
are
using
into
location
765.

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Atari XL and is the answer not in the manual?

Atari XL Specifications

General IconGeneral
BrandAtari
ModelXL
CategoryDesktop
LanguageEnglish

Related product manuals