BZ, Bezier Absolute

This command draws bezier curves using absolute coordinates. The BZ command uses the current pen position as the first control point, and specifies the other three control points as absolute coordinates.

BZ X1,Y1, X2,Y2,X3,Y3,...[X1,Y1, X2,Y2,X3,Y3]]

Parameter

Format

Functional Range

Default

 

 

 

 

X1, Y1... (control points)

current

-223to 223 - 1

no default

 

units

 

 

 

 

 

 

The BZ command uses the current pen location and three specified control points to draw a bezier curve. After each new Bezier, the last control point of the previous curve becomes the first control point of the next Bezier. All curve control points are specified as absolute coordinates.

Bezier curves are drawn with the current pen, line type, current line attributes, and pen-state (up/down). The curve is clipped to the hard-clip limits and the soft-clip window. Following the command execution, the current pen position is updated to the end point of the curve.

The BZ command is allowed in Polygon Mode. (The first chord after PM1 is not treated as a pen-up move.)

zX1, Y1... — Specify the location of the second (X 1, Y1), third (X2, Y2), and fourth (X3, Y3) control points, as absolute coordinates.

Table 20-14 Example: Using the BZ Command (Bezier Absolute)

ECE

EC%ØB

IN;

SP1;

Reset the printer.

Enter HP-GL/2 mode.

Initialize HP-GL/2 mode.

Select pen number 1. Even though there is no physical pen, the SP command must be used to enable printing.

20-22The Vector Group

EN

Page 482
Image 482
HP 5961-0509 manual BZ, Bezier Absolute, Example Using the BZ Command Bezier Absolute, 20-22The Vector Group