
Revision C 16/01/96
Chapter 9 "HP-GL" 16
AR - Draw Relative Arc
AR X, Y, qc(, qd)[;]
X ; Arc centre X coordinate
Y ; Arc centre Y coordinate
qc ; Arc angle in degrees
qd ; Chord 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>
Summary of Contents for HL- SERIES
Page 13: ...Revision A 16 01 96 Chapter 1 Introduction ...
Page 16: ...Revision C 16 01 96 Chapter 2 PCL 1 Chapter 2 PCL ...
Page 123: ...Revision C 16 01 96 Chapter 2 PCL 3 W width raster area 78 Y y offset raster 79 ...
Page 124: ...Revision C 16 01 96 Chapter 3 PJL 1 Chapter 3 PJL Printer Job Language ...
Page 180: ...Revision C 16 01 96 Chapter 4 Diablo 630 1 Chapter 4 Diablo 630 ...
Page 200: ...Revision C 16 01 96 Chapter 5 EPSON FX 850 1 Chapter 5 EPSON FX 850 ...
Page 237: ...Revision C 16 01 96 Chapter 6 IBM Proprinter XL 1 Chapter 6 IBM Proprinter XL ...
Page 259: ...Revision C 16 01 96 Chapter 7 Bar Codes Control 1 Chapter 7 Bar Code Control ...
Page 267: ...Revision C 16 01 96 Chapter 8 HP GL2 1 CHAPTER 8 HP GL 2 Graphics Language ...
Page 280: ...Revision C 16 01 96 Chapter 8 HP GL2 14 220 END Sample 21 ...
Page 328: ...Revision C 16 01 96 Chapter 9 HP GL 1 CHAPTER 9 HP GL Graphics Language ...
Page 342: ...Revision C 16 01 96 Chapter 9 HP GL 15 Sample 68 ...
Page 387: ...Revision C 16 01 96 APPENDIX A COMPALISON LIST 24 RESOLUTION 300 600 300 600 300 600 ...