CHAPTER 9 HP-GL - 17
WG - Fill wedge
WG r,q1,qc(,qd)[;]
r ; Radius in user units or graphics units
q1 ; Start point angle
qc ; Arc angle
qd ; Chord angle
Fill in 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.
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.
The value for
qc
is a clamped real number.
Plotting proceeds counterclockwise when
qc
is positive and clockwise when it is negative.
The value for
qd
is a clamped real number.
When
qd
is not specified, the chord angle is the default value ( 5 degrees ).
Fill pattern specified
by FT and PT
Radius
Start point angle
Current position
0 degrees
Arc angle
10 ' *** WGEX ***
20 LPRINT "IN;SP2;FT3,100;"
30 LPRINT "PA5000,4000;"
40 LPRINT "WG1250,90,180,5;"
50 LPRINT "SP4;FT4,100,45;"
60 LPRINT "WG1250,270,120;"
70 LPRINT "SP1;PT.3;FT1;"
80 LPRINT "WG1250,30,60;PG;"
90 END
<Sample 75>
Summary of Contents for HL-4140CN
Page 4: ......
Page 15: ...CHAPTER 1 INTRODUCTION 1 CHAPTER 1 INTRODUCTION ...
Page 20: ...CHAPTER 2 PCL 1 CHAPTER 2 PCL PRINTER CONTROL LANGUAGE ...
Page 137: ...CHAPTER 3 PCL5C 1 CHAPTER 3 PCL5C ...
Page 155: ...CHAPTER 4 HP GL 2 1 CHAPTER 4 HP GL 2 GRAPHICS LANGUAGE ...
Page 208: ...CHAPTER 5 PJL 1 CHAPTER 5 PJL PRINTER JOB LANGUAGE ...
Page 285: ...CHAPTER 6 EPSON 1 CHAPTER 6 EPSON FX 850 ...
Page 313: ...CHAPTER 7 IBM PROPRINTER 1 CHAPTER 7 IBM PROPRINTER XL ...
Page 334: ...CHAPTER 8 BAR CODE CONTROL 1 CHAPTER 8 BAR CODE CONTROL ...
Page 346: ...CHAPTER 9 HP GL 1 CHAPTER 9 HP GL GRAPHICS LANGUAGE ...
Page 373: ...CHAPTER 10 CARBON COPY FUNCTION 1 CHAPTER 10 CARBON COPY FUNCTION ...
Page 383: ...APPENDIX A COMPARISON LIST 1 APPENDIX A COMPARISON LIST ...
Page 490: ...APPENDIX C HBP MODE COMMANDS 1 APPENDIX C HBP MODE COMMANDS For HL 820 1020 1040 Only ...