H P - G L / 2 C o n t e x t P r i n t e r C o m m a n d s

Figure B.2 HP-GL/2 Context Printer Commands (continued)

Command

Mnemonic

Parameters

 

 

 

Bezier Relative

BR

x1_control_pt_increments,

 

 

y1_control_pt_increments,

 

 

x2_control_pt_increments,

 

 

y2_control_pt_increments

 

 

x3_control_pt_increments,

 

 

y3_control_pt_increments . . .

 

 

[x1_control_pt_increments,

 

 

y1_control_pt_increments,

 

 

x2_control_pt_increments,

 

 

y2_control_pt_increments,

 

 

x3_control_pt_increments,

 

 

y3_control_pt_increments];

 

 

 

Plot Absolute

PA

[x,y . . . [,x,y]];

 

 

 

Plot Relative

PR

[x,y . . . [,x,y]];

 

 

 

Pen Down

PD

[x,y . . . [,x,y]];

 

 

 

Pen Up

PU

[x,y . . . [,x,y]];

 

 

 

Relative Arc Three Point

RT

x_incr_inter, y_incr_inter, x_incr_end, y_incr_end

 

 

[,chord_angle];

 

 

 

Polyline Encoded

PE

[flag[val]coord_pair . . . [flag[val]coord_pair]];

 

 

 

 

POLYGON GROUP

 

 

 

Circle

CI

radius [,chord_angle];

 

 

 

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

 

 

 

B-224 5 0 5 / 4 5 0 5 p s o r 4 5 1 0 / 4 5 1 0 p s U s e r ’ s G u i d e

Page 238
Image 238
Xerox 4505/4505ps, 4510/4510ps manual Polygon Group