Brother HL-Series Technical Reference Manual page 286

Hide thumbs Also See for HL-Series:
Table of Contents

Advertisement

Revision C 16/01/96
X ; Arc centre X coordinate
qc ; Arc angle in degrees
• Coordinates are relative values in current units.
• Starting from the current cursor position the command plots an arc whose centre is at the relative coordinate
position (X,Y) and which has the specified arc and chord angles. The radius of the arc is the distance
between the current position and the point (X,Y).
• After execution of the command the cursor position is at the opposite end of the arc from the point at which
plotting started.
• Plotting takes place only when the pen is down.
• If the command is invoked with the pen up, plotting is not performed, but the cursor position moves to
what would have been the plot end point.
• The value for qc is a clamped real number.
• When qc is positive, plotting is counterclockwise.
• When qc is negative, plotting is clockwise.
• The value for qd is a clamped real number in the range 0.5° to 180°. The default value is 5°.
10 '--Draw Relative Arc --
20 WIDTH "LPT1:", 255
30 LPRINT CHR$(27); "E";
40 LPRINT CHR$(27); "%0B";
50 LPRINT "IN;SP1;IP1000,1000,6000,6000;"
60 LPRINT "SC-100,100,-100,100;"
70 LPRINT
80 LPRINT CHR$(27); "%0A";
90 LPRINT CHR$(27); "E";
100 END
<Sample 27>
"PA-100,70;PD;PR30,0;AR0,-70,-90,15;AR70,0,90;PR60,0;PU;"
Chapter 8 "HP-GL2" 20
Y ; Arc centre Y coordinate
qd ; Chord angle in degrees

Advertisement

Table of Contents
loading

Table of Contents