Brother HL-Series Technical Reference Manual page 343

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

Advertisement

Revision C 16/01/96
AR - Draw Relative Arc
AR X, Y, qc(, qd)[;]
X ; Arc centre X coordinate
qc ; Arc angle in degrees
• X and Y coordinates are relative coordinates in user units or graphics 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 plotting the cursor position changes to the plot end point.
• Plotting is performed only when the pen is down.
• When the pen is up, plotting is not performed, but he cursor position moves to the plot end point.
• When scaling has been performed, the cursor is moved by relative coordinates in user units.
• Also, when scaling has been performed, the values for X and Y are real numbers.
• When there is no scaling, the cursor is moved by relative coordinates in graphics units.
• When there is no scaling, the coordinate values for X and Y are integer numbers.
• The value for qc is a clamped real number.
• When qc is positive, counterclockwise plotting from the current point is performed.
• When qc is negative, plotting is made clockwise from the current position.
• The value for qd is a clamped real number.
• When qd is not specified, the chord angle is the default value ( 5 degrees ).
10 '*** AREX1 ***
20 LPRINT "IN;SP1;IP2650,1325,7650,6325;"
30 LPRINT "SC-100,100,-100,100;"
40 LPRINT "PA-80,-80;PD;AR0,50,90;AR50,0,90;PU;"
50 END
<Sample 69>
10 ' *** AREX2 ***
20 LPRINT "IN;SP1;IP2650,1325,7650,6325;"
30 LPRINT "SC-100,100,-100,100;"
40 LPRINT "PA-100,70;PD;PR30,0;AR-,-70,-90;AR70,0,90;PR60,0;PU;"
50 END
100 END
<Sample 70>
Y ; Arc centre Y coordinate
qd ; Chord angle in degrees
Chapter 9 "HP-GL" 16

Advertisement

Table of Contents
loading

Table of Contents