Polygons - Datamax A-4310 Programmer's Manual

Class series
Hide thumbs Also See for A-4310:
Table of Contents

Advertisement

LINE* :
Where:
LINE** :
lhhhhvvvv
Where:
BOX*** :
Where:
BOX**** :
bhhhhvvvvbbbbssss
Where:
Note: While boxes are hollow, lines can be understood as filled-in boxes.

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 <STX>m).
Record structure for a polygon (spaces added for readability):
1 X 11 ppp rrrr cccc P ppp bbbb rrrr cccc rrrr cccc ... <CR>
Where:
Rotation (must be 1)
1
Graphic field ID
X
Multiplier (must be 1)
1
Multiplier (must be 1)
1
Fill pattern #
ppp
Row of point 1
rrrr
Column of point 1
cccc
Polygon ID (Fixed Value)
P
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 Label Formatting Command A.
140
Generating Label Formats
Lhhhvvv
=
"L" and specifies line drawing;
L
horizontal width of line; and,
=
Hhh
vertical height of line.
=
vvv
=
"l" and specifies line drawing;
L
horizontal width of line; and,
=
hhhh
vertical height of line.
=
vvvv
Bhhhvvvbbbsss
=
"B" and specifies box drawing;
B
=
horizontal width of box;
hhh
vertical height of box;
=
vvv
thickness of bottom and top box edges; and,
bbb
=
thickness of box sides.
sss
=
=
"b" and specifies box drawing;
b
horizontal width of box;
=
hhhh
=
vertical height of box;
vvvv
thickness of bottom and top box edges; and,
=
bbbb
thickness of box sides.
ssss
=
Table 8-13: Polygon Record Structure
Fixed Value
001
Fixed Value
0001
Row of point 2
rrrr
Column of point 2
cccc
Row of point 3
rrrr
Column of point 3
cccc
Additional points
...
Termination character
<CR>
Class Series Programmer's Manual

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents