
Revision C 16/01/96
Chapter 8 "HP-GL2" 32
FP - Fill Polygon
FP [;]
FP [
n ] [;]
n ; fill method
•
This command fills the polygon currently stored in the polygon buffer.
•
The command does not clear the buffer or alter the data at all.
•
The command fills between points defined when the pen was up or down.
•
If a polygon is composed of sub-polygons, the command fills alternate areas.
•
On completion of the plot the cursor returns to the original position.
•
The command performs a fill irrespective of whether the pen is currently up or down.
•
You can specify the fill method. There are two types of fill method.
•
0 specified even/odd fill method.
Places a point within the polygon, and draws a straight line from it to the outside of polygon. If the cross
point of the straight line and polygon edges are an odd count, the polygon which includes the start point is
filled.
*
*
*
2 times
1 time
•
1 specifies Non-zero winding fill method.
10 '- Fill Polygon -
20 WIDTH "LPT1:",255
30 LPRINT CHR$(27); "E";
40 LPRINT CHR$(27); "%0B";
50 LPRINT "IN;SP1;";
60 LPRINT "PA1500,1500;PM0;CI1000,60;PM1;"
70 LPRINT "CI500;PM1;PM2;"
80 LPRINT "LT4;FT3,50,45;"
90 LPRINT "FP;"
100 LPRINT CHR$(27); "%0A";
110 LPRINT CHR$(27); "E";
120 END
<Sample 37>
Содержание 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 ...