
2009/06/29
CHAPTER 9 HP-GL - 11
AA - Draw absolute arc
AA [ 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 absolute coordinates in user units or graphics units.
•
Starting from the current position, plots an arc centred on the absolute coordinates X, Y having the specified
arc angle and chord angle, with the radius being the distance between the current position and the point X,Y.
•
After plotting, the cursor position moves to the plot end point.
•
Plotting is performed only when the pen is down.
•
When the pen is up, plotting is not performed but the cursor position moves to the plot end point.
•
When scaling has been performed, the cursor is moved by absolute 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 absolute coordinates in graphics units.
•
When there is no scaling, the coordinate values for X and Y are integer number.
•
The value for pc 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 ).
(X,Y)
qc = Arc Angle
qd = Chord Angle
10 '*** AAEX ***
20 LPRINT "IN;SP1;IP2650,1325,7650,6325;"
30 LPRINT "SC0,100,0,100;"
40 LPRINT "PA0,30;"
50 LPRINT "PD;PA0,45;AA0,50,180;PA0,70;"
60 LPRINT "AA0,100,90;PA45,100;AA50,100,180;PA70,100;"
70 LPRINT "AA100,100,90;PA100,55;AA100,50,180;PA100,30;"
80 LPRINT "AA100,0,90;PA100,55;AA100,50,180;PA70,100;"
90 LPRINT "AA100,0,90;PA55,0;AA50,0,180;PA30,0;AA0,0,90;"
100 LPRINT "PU;PA50,50,CI20;"
110 END
<Sample 68>
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.
Содержание HL-2600CN Series
Страница 4: ......
Страница 15: ...2009 06 29 CHAPTER 1 INTRODUCTION 1 CHAPTER 1 INTRODUCTION ...
Страница 20: ...2009 06 29 CHAPTER 1 INTRODUCTION 6 ...
Страница 21: ...7 17 2009 CHAPTER 2 PCL 1 CHAPTER 2 PCL PRINTER CONTROL LANGUAGE ...
Страница 129: ...2009 06 29 CHAPTER 3 PCL5C 1 CHAPTER 3 PCL5C ...
Страница 147: ...2009 06 29 CHAPTER 4 HP GL 2 1 CHAPTER 4 HP GL 2 GRAPHICS LANGUAGE ...
Страница 149: ...2009 06 29 CHAPTER 4 HP GL 2 3 7 6 Character Plot Instructions 38 7 6 1 Introduction 39 8 INDEX 52 ...
Страница 200: ...2009 06 29 CHAPTER 4 HP GL 2 54 ...
Страница 201: ...2009 06 29 CHAPTER 5 PJL 1 CHAPTER 5 PJL PRINTER JOB LANGUAGE ...
Страница 276: ...2009 06 29 CHAPTER 6 EPSON 1 CHAPTER 6 EPSON FX 850 ...
Страница 304: ...2009 06 29 CHAPTER 7 IBM PROPRINTER 1 CHAPTER 7 IBM PROPRINTER XL ...
Страница 325: ...2009 06 29 CHAPTER 7 IBM PROPRINTER 22 ...
Страница 326: ...2009 06 29 CHAPTER 8 BAR CODE CONTROL 1 CHAPTER 8 BAR CODE CONTROL ...
Страница 337: ...2009 06 29 CHAPTER 9 HP GL 1 CHAPTER 9 HP GL GRAPHICS LANGUAGE ...
Страница 364: ...2009 06 29 CHAPTER 9 HP GL 28 ...
Страница 365: ...2009 06 29 CARBON COPY FUNCTION 1 CHAPTER 10 CARBON COPY FUNCTION ...
Страница 373: ...2009 06 29 APPENDIX A COMPARISON LIST 1 APPENDIX A COMPARISON LIST ...
Страница 462: ...2009 06 29 APPENDIX C HBP MODE COMMANDS 1 APPENDIX C HBP MODE COMMANDS For HL 820 1020 1040 Only ...
Страница 475: ...2009 06 29 APPENDIX C HBP MODE COMMANDS 14 ...
Страница 485: ...2009 06 29 APPENDIX D REFERENCE LIST OF MX 2000 4000 5000 7000 SERIES UNIQUE COMMANDS 10 ...