10/10/03

7.3.Pen Control and Plot Instructions

Instruction

Function

 

 

PU

Pen Up

 

 

PD

Pen Down

PA

Plot Absolute

 

 

PR

Relative Coordinate Pen Move

 

 

AA

Absolute Arc Plot

AR

Relative Arc Plot

 

 

AT

Absolute Three Point Arc

 

 

RT

Relative Three Point Arc

 

 

PE

Polyline Encoded

 

 

CI

Circle

BR

Bezier Relative

 

 

BZ

Bezier Absolute

 

 

PU - Pen up

PU [ X,Y [,...]] [;]

X ; X coordinate of the cursor movement destination

Y ; Y coordinate of the cursor movement destination

X and Y are either relative or absolute, depending on whether a PA or a PR was the last plot command executed. The absolute coordinates are set as default.

You can specify as many coordinate pairs as you wish. The cursor moves to each point in turn without drawing.

• Using this instruction without a parameter field raises the pen without changing the cursor position.

Coordinates are specified in the currently selected unit.

In symbol mode PU draws the specified symbol at each point in the parameter list.

In polygon mode the specified coordinate pairs are placed in the polygon buffer.

• If an odd number of coordinates are specified, the final (unpaired) coordinate is ignored.

PD - Pen down

PD [ X, Y [,...]] [;]

X ; X coordinate of the cursor movement destination

Y ; Y coordinate of the cursor movement destination

X and Y are either relative or absolute, depending on whether a PA or a PR was the last plot command executed. The absolute coordinates are the default setting.

• You can specify as many coordinate pairs as you wish. The cursor moves to each point in turn, drawing lines on the page.

Using this instruction without a parameter lowers the pen without changing the cursor position.

Coordinates are specified in the currently selected unit.

In symbol mode PD draws the specified symbol at each defined point on the x- and y-axis.

In polygon mode the specified coordinate pairs are placed in the polygon buffer.

• If an odd number of coordinates are specified, the final (unpaired) coordinate is ignored.

CHAPTER 4 HP-GL/2 - 18

Page 158
Image 158
Homelite HL-1050, HL-P2500, HL-1660E, HL-2400CE Pen Control and Plot Instructions, PU Pen up, Pu X,Y, PD Pen down, Pd X, Y