PM, Polygon Mode Command

This command enters polygon mode for defining shapes, such as block letters or any unique area, and exits for subsequent filling and/or edging. Fill polygons using the Fill Polygon (FP) command and/or outline them using the Edge Polygon (EP) command.

PM polygon definition [;]

or

PM [;]

Parameter

Format

Functional Range

Default

 

 

 

 

polygon

clamped

0, 1, and 2

0

definition

integer

 

 

 

 

 

 

In polygon mode, you define the area of the polygon(s) using graphics commands. These commands (and associated X,Y coordinates) are stored in the polygon buffer. The polygon is not printed until you exit polygon mode and fill and/or outline the area.

zNo Parameters — Clears the polygon buffer and enters polygon mode. Equivalent to (PM0).

zPolygon 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 a PM2 (or the next PM1) are stored as one subpolygon.

2 — Closes current polygon (or subpolygon) and exits polygon mode.

The following paragraphs explain how to use each parameter. The order in which you use these commands is very important.

(PM0) or (PM)

Use (PM0) to clear the polygon buffer and enter polygon mode. While in polygon mode, only certain commands are allowed. The following list contains these commands:

21-34The Polygon Group

EN

Page 546
Image 546
HP 5961-0509 manual PM, Polygon Mode Command, PM0 or PM, Polygon Clamped Definition Integer, 21-34The Polygon Group