
Revision C 16/01/96
Chapter 9 "HP-GL" 21
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- SERIES
Страница 13: ...Revision A 16 01 96 Chapter 1 Introduction ...
Страница 16: ...Revision C 16 01 96 Chapter 2 PCL 1 Chapter 2 PCL ...
Страница 123: ...Revision C 16 01 96 Chapter 2 PCL 3 W width raster area 78 Y y offset raster 79 ...
Страница 124: ...Revision C 16 01 96 Chapter 3 PJL 1 Chapter 3 PJL Printer Job Language ...
Страница 180: ...Revision C 16 01 96 Chapter 4 Diablo 630 1 Chapter 4 Diablo 630 ...
Страница 200: ...Revision C 16 01 96 Chapter 5 EPSON FX 850 1 Chapter 5 EPSON FX 850 ...
Страница 237: ...Revision C 16 01 96 Chapter 6 IBM Proprinter XL 1 Chapter 6 IBM Proprinter XL ...
Страница 259: ...Revision C 16 01 96 Chapter 7 Bar Codes Control 1 Chapter 7 Bar Code Control ...
Страница 267: ...Revision C 16 01 96 Chapter 8 HP GL2 1 CHAPTER 8 HP GL 2 Graphics Language ...
Страница 280: ...Revision C 16 01 96 Chapter 8 HP GL2 14 220 END Sample 21 ...
Страница 328: ...Revision C 16 01 96 Chapter 9 HP GL 1 CHAPTER 9 HP GL Graphics Language ...
Страница 332: ...Revision C 16 01 96 Chapter 9 HP GL 5 1 3 2 Printing Area a b d c a b c d mm A4 4 5 5 5 Letter 6 5 5 5 Legal 6 5 5 5 ...
Страница 342: ...Revision C 16 01 96 Chapter 9 HP GL 15 Sample 68 ...
Страница 387: ...Revision C 16 01 96 APPENDIX A COMPALISON LIST 24 RESOLUTION 300 600 300 600 300 600 ...