Graphics
FILL RECTANGLE, ABSOLUTE
Ec
* m <x1><y1><x2><y2> e
where
<x1
><y1
>
are
the
absolute
coordinates of
the
lower
left
corner
of
the
rectangular
area
to
befilled (-16384 to 16383),
and
<x2> <y2>
are
the
absolutecoordinates of
the
upper
right
corner
of
the
rectangular
area
to be filled (-16384 to 16383).
Example:
Using
area
fill
pattern
5, fill a
rectangle
defined by
the
diagonal
50,50 300,300.
Ec*
m 5 9
50,50
300,300
E
FILL RECTANGLE, RELOCATABLE
Ec
* m <x1><y1><x2><y2> f
where
<x1
>
<y1
>
are
the
relocatable
coordinates
of
the
lowerleft
corner
of
the
rectangular
area
to be filled (-16383
to
16383),
and
<x2><y2>
are
the
relocatable coordinates
of
the
upper
right
corner
of
the
rectangular
area
to be filled (-16383 to 16383).
This
command
is
used
in
conjunction
with
the
relocatable origin.
Examp 1
e:
Load a function
key
with
the
command:
Ec
* m 1
20,20
30,30
F
Use
the
cursor
control
keys
to move
the
graphics cursor while periodically
pressing
this
function key.
Polygonal Area Fills
Begin
Polygon
Area
Fill:
Close Polygon/Begin New Polygon:
Close Polygon
Area
Fill:
Ec
* P 5
Ec
* p a
Ec
* p t
You
can
define a polygon
with
as
many
as
105 sides
and
fill
the
shape
with
the
current
area
fill
pattern.
The
Begin Polygon
Area
Fill
command causes
subsequent
coordinate
pairs
to be
read
as
vertices
of
the
polygon.
When
a
lift
pen
command
(Ec
* p a) occurs
in
the
middle of a
polygon
area
fill sequence, a
new
polygon
is
started
(see example).
The
Close
Area
Fill
command (or
any
capital
letter)
causes
the
polygon tobe filled
using
the
current
drawing
mode
and
area
pattern.
Note
that
it
is
not
necessary to specify a vectorfrom
the
last
point
back
to
the
first
point;
the
polygon
automatically
closes
itself
at
the
end
of
the
sequence.
D-21