Polygons
Polygons are created by defining the positions of the corners, specifying a number of
data points that represent the vertices of the object, which can range from a simple
line (two points), or a triangle (three points), to any free-form outline. Polygons may
be filled with a variety of different patterns. All row/column specifiers are interpreted
as inches/100 or millimeters/10 depending on the printer mode (see see STX m Set
Printer to Metric Mode).
Syntax
1 X 11 ppp rrrr cccc P ppp bbbb rrrr cccc rrrr cccc ... <CR>
Parameters
Where:
l
1 - Rotation (must be 1)
l
X - Graphic field ID
l
1 - Multiplier (must be 1)
l
1 - Multiplier (must be 1)
l
ppp - Fill pattern #
l
rrrr - Row of point 1
l
cccc - Column of point 1
l
P - Polygon ID (Fixed Value)
l
ppp - Fixed Value (001)
l
bbbb - Fixed Value (0001)
l
rrrr - Row of point 2
l
cccc - Column of point 2
l
rrrr - Row of point 3
l
cccc - Column of point 3
l
… - Additional points
l
<CR> - Termination character
Note: The points must be specified in the order to be drawn; the last point specified is
automatically connected to the first point to close the polygon. If only two points are
specified, a single line will be drawn. See A Set Format Attribute.
Sample
1 X 11 000 0010 0010 P 001 0001 0040 0025 0010 0040<CR>
171
DPLCommand Reference