
HP PCL Graphics Commands 9-45
No parameters - Clears the polygon buffer and enters polygon mode. Equivalent to (PM0).
Polygon definition - Defines polygon mode status as follows:
0: Clears the polygon buffer and enters polygon mode
1: Closes the current polygon (or subpolygon) and remains in polygon mode; all
commands sent following PM1 but before PM2 (or the next PM1) are stored as
one subpolygon.
2: Closes the current polygon (or subpolygon) and exits polygon mode.
Fill Polygon (FP)
This command fills the polygon currently in the polygon buffer. Use the FP command to
fill polygons defined in polygon mode or with edge rectangle or edge wedge commands
(ER, EW, RA, RR, or WG).
FP
fill method
[
;
] or FP [
;
]
Table 9-32 Fill Polygon Command Parameters
Parameter
Format
Functional Range
Default
polygon definition
clamped integer
0 or 1
0 (odd-even fill)
Fill method - Specifies the algorithm used to determine which portions of a polygon are
“inside” the polygon and therefore are to be filled:
0: Even/odd fill algorithm (default)
1: Non-zero winding fill algorithm
The FP command fills any polygon that is currently in the polygon buffer. FP accesses the
data in the polygon buffer but does not clear the buffer or change the data in any way.
The FP command fills between points defined with either the pen down or the pen up. The
polygon is filled using the current pen, fill type, line type, and attributes (if the fill type is
not raster). The FP command includes an automatic pen down. When command execution
completes, the original pen location and up/down status are restored.
Summary of Contents for Intellibar M412
Page 115: ...9 2 HP PCL Graphics Commands Figure 9 1 Star Shaped Raster Image...
Page 122: ...HP PCL Graphics Commands 9 9 Figure 9 4 Example of Raster Graphic Image Data...
Page 126: ...HP PCL Graphics Commands 9 13 Figure 9 6 Shading Levels...
Page 127: ...9 14 HP PCL Graphics Commands Figure 9 7 Fill Patterns...