
2009/06/29
CHAPTER 9 HP-GL - 15
EW - Edge wedge
EW r,q1,qc(,qd)[;]
r ; Radius in user units or graphics units
q1; Start point angle
qc ; Arc angle
qd ; Chord angle
•
Plots a wedge centred on the current position with radius
r
, start point angle
q1
, arc angle
qc
and chord angle
qd
.
•
After plotting, the cursor returns to its point of origin.
•
Plotting is performed whether the pen is up or down.
•
When scaling has been performed, the circle is plotted in user units.
•
Also, when scaling has been performed, the value for r is a real number.
•
When there is no scaling, the circle is plotted in graphics units.
•
When there is no scaling, the coordinate value for
r
is an integer number.
•
The value for
q1
is a clamped real number.
q1
qc
r
0° reference point
current
position
•
q1
specifies the wedge starting point related to the 0 degree reference point.
•
When
q1
is positive, the positive direction of the X axis relative to the current position is set at 0 degrees and
the start point is sought in the counterclockwise direction. The opposite occurs when
q1
is negative: the
negative X axis is set at 0 degrees and the start point is sought by going clockwise.
•
qc
specifies the angle of the wedge in degrees.
•
The value for
qc
is a real number.
•
Plotting proceeds counterclockwise when
qc
is positive and clockwise when negative.
•
The value for
qd
is a clamped real number.
•
When
qd
is not specified, the chord angle is the default value ( 5 degrees )
10 ' *** EWEX ***
20 LPRINT "IN;SP2;FT3,100;"
30 LPRINT "PA5000,4000;"
40 LPRINT "WG1250,90,180,5;"
50 LPRINT "SP3;EW1250,90,180,5;"
60 LPRINT "SP4,FT4,100,45;"
70 LPRINT "WG1250,270,120;"
80 LPRINT "SP3;EW1250,270,120;"
80 LPRINT "SP1;PT.3;FT1;"
100 LPRINT "WG1250,30,60;"
110 LPRINT "SP3;EW1250,30,60;PG;"
120 END
<Sample 76>
Содержание 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 ...