beautypg.com

Fillet, Full arc – Compuprint 4247-Z03 Programmer Manual User Manual

Page 195

background image

The printer places the character cell of the first character in the string at the specified graphics position.
The Set Character Cell, Set Character Angle, and Set Character Direction orders determine the character
size, character angle, and character direction, respectively. The printer uses the current values of color,
mix, background mix, and character precision when drawing the string.

L1 is a one-byte value that specifies the length of the parameter field that follows. L1 must be greater than
or equal to four. If L1 equals four, the printer does not draw the character string, but the printer updates
the graphics current position to the point specified by parameters P1 to P4.

Parameters P1 and P2 form a two byte value that specifies the X coordinate of the starting location.
Parameters P3 and P4 form a two byte value that specifies the Y coordinate of the starting location.
Parameters P5 to Pn, if present, are one-byte values that specify the code points of the character string,
using the currently active character set.

This order updates the current graphics position to the coordinates of the last point.

Fillet

C5

L1

P1-Pn

Description: This order specifies a curved line, which the printer draws tangential to a specified set of
connected, imaginary, straight lines.

The printer joins the points specified in the order by imaginary straight lines. The printer then fits a curve
to the lines. The curve is tangent to the first line at the start point and is tangent to the last line at its end
point. If there are intermediate lines, the curve is tangent to these lines at their center points.

L1 is a one-byte value that specifies the length of the following parameters. L1 must be a multiple of four
and cannot equal zero. If L1 equals four, the printer does not draw the fillet, but the printer updates the
graphics current position to the point specified by parameters P1 to P4.

Parameters P1 and P2 form a two byte value that specifies the X coordinate of the first point. Parameters
P3 and P4 form a two byte value that specifies the Y coordinate of the first point. Parameters P5 to Pn, if
present, form two byte values that specify the corresponding coordinate values for additional points. If only
two points are specified, the printer draws a straight line.

The printer uses the current values of color, mix, line type, and line width when drawing the fillet.

This order updates the current graphics position to the coordinates of the last point.

Full Arc

C7

L1

P1-Pn

Description: This order specifies a full arc (circle or ellipse) with the center at the specified point. A
previous Set Arc Parameters order determines the shape and orientation of the arc. If no previous Set Arc
Parameters order was processed, the printer draws the arc using the graphics default arc parameters.

Parameters P1 and P2 form a two byte value that specifies the X coordinate for the center of the arc.
Parameters P3 and P4 form a two byte value that specifies the Y coordinate for the center of the arc.
Parameters P5 and P6 form a two byte, unsigned, floating point value that specifies the scale. P5 specifies
the integer portion of the scale; P6 specifies the fractional portion of the scale. There is an implied decimal
point between P5 and P6. Byte P6 represents the fraction given by the value of P6 divided by 256 (see
“Full Arc at Current Position” on page 6-88).

Chapter 4. IPDS Programming Information

175

This manual is related to the following products: