Table A-2. HP-GL/2 Commands (continued)

COMMAND

MNEMONIC

PARAMETERS*

 

POLYGON GROUP

Fill Rectangle Absolute

RA

x_coordinate,y_coordinate;

Fill Rectangle Relative

RR

x_increment,y_increment;

Edge Rectangle Absolute

EA

x_coordinate,y_coordinate;

Edge Rectangle Relative

ER

x_increment,y_increment;

Fill Wedge

WG

radius,start_angle,sweep_angle[,chord_angle];

Edge Wedge

EW

radius,start_angle,sweep_angle[chord_angle];

Polygon Mode

PM

polygon_definition;

Fill Polygon

FP

0- Odd/Even

 

 

1 - non-zero winding

Edge Polygon

EP

None

 

 

 

* Parameters in brackets are optional.

A-20 Printer Commands