summaryrefslogtreecommitdiff
path: root/doc/libgraphics.ps
blob: 2a4cceb477b8910336b3adb3d6f998b652b78d8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
%!PS-Adobe-2.0
%%Version: 0.1
%%Creator: troff, Plan 9 edition
%%DocumentFonts: (atend)
%%Pages: (atend)
%%EndComments
%
% Version 3.3.2 prologue for troff files.
%

/#copies 1 store
/aspectratio 1 def
/formsperpage 1 def
/landscape false def
/linewidth .3 def
/magnification 1 def
/margin 0 def
/orientation 0 def
/resolution 720 def
/rotation 1 def
/xoffset 0 def
/yoffset 0 def

/roundpage true def
/useclippath true def
/pagebbox [0 0 612 792] def

/R  /Times-Roman def
/I  /Times-Italic def
/B  /Times-Bold def
/BI /Times-BoldItalic def
/H  /Helvetica def
/HI /Helvetica-Oblique def
/HB /Helvetica-Bold def
/HX /Helvetica-BoldOblique def
/CW /Courier def
/CO /Courier def
/CI /Courier-Oblique def
/CB /Courier-Bold def
/CX /Courier-BoldOblique def
/PA /Palatino-Roman def
/PI /Palatino-Italic def
/PB /Palatino-Bold def
/PX /Palatino-BoldItalic def
/Hr /Helvetica-Narrow def
/Hi /Helvetica-Narrow-Oblique def
/Hb /Helvetica-Narrow-Bold def
/Hx /Helvetica-Narrow-BoldOblique def
/KR /Bookman-Light def
/KI /Bookman-LightItalic def
/KB /Bookman-Demi def
/KX /Bookman-DemiItalic def
/AR /AvantGarde-Book def
/AI /AvantGarde-BookOblique def
/AB /AvantGarde-Demi def
/AX /AvantGarde-DemiOblique def
/NR /NewCenturySchlbk-Roman def
/NI /NewCenturySchlbk-Italic def
/NB /NewCenturySchlbk-Bold def
/NX /NewCenturySchlbk-BoldItalic def
/ZD /ZapfDingbats def
/ZI /ZapfChancery-MediumItalic def
/S  /S def
/S1 /S1 def
/GR /Symbol def

/inch {72 mul} bind def
/min {2 copy gt {exch} if pop} bind def

/setup {
	counttomark 2 idiv {def} repeat pop

	landscape {/orientation 90 orientation add def} if
	/scaling 72 resolution div def
	linewidth setlinewidth
	1 setlinecap

	pagedimensions
	xcenter ycenter translate
	orientation rotation mul rotate
	width 2 div neg height 2 div translate
	xoffset inch yoffset inch neg translate
	margin 2 div dup neg translate
	magnification dup aspectratio mul scale
	scaling scaling scale

	addmetrics
	0 0 moveto
} def

/pagedimensions {
	useclippath userdict /gotpagebbox known not and {
		/pagebbox [clippath pathbbox newpath] def
		roundpage currentdict /roundpagebbox known and {roundpagebbox} if
	} if
	pagebbox aload pop
	4 -1 roll exch 4 1 roll 4 copy
	landscape {4 2 roll} if
	sub /width exch def
	sub /height exch def
	add 2 div /xcenter exch def
	add 2 div /ycenter exch def
	userdict /gotpagebbox true put
} def

/addmetrics {
	/Symbol /S null Sdefs cf
	/Times-Roman /S1 StandardEncoding dup length array copy S1defs cf
} def

/pagesetup {
	/page exch def
	currentdict /pagedict known currentdict page known and {
		page load pagedict exch get cvx exec
	} if
} def

/decodingdefs [
	{counttomark 2 idiv {y moveto show} repeat}
	{neg /y exch def counttomark 2 idiv {y moveto show} repeat}
	{neg moveto {2 index stringwidth pop sub exch div 0 32 4 -1 roll widthshow} repeat}
	{neg moveto {spacewidth sub 0.0 32 4 -1 roll widthshow} repeat}
	{counttomark 2 idiv {y moveto show} repeat}
	{neg setfunnytext}
] def

/setdecoding {/t decodingdefs 3 -1 roll get bind def} bind def

/w {neg moveto show} bind def
/m {neg dup /y exch def moveto} bind def
/done {/lastpage where {pop lastpage} if} def

/f {
	dup /font exch def findfont exch
	dup /ptsize exch def scaling div dup /size exch def scalefont setfont
	linewidth ptsize mul scaling 10 mul div setlinewidth
	/spacewidth ( ) stringwidth pop def
} bind def

/changefont {
	/fontheight exch def
	/fontslant exch def
	currentfont [
		1 0
		fontheight ptsize div fontslant sin mul fontslant cos div
		fontheight ptsize div
		0 0
	] makefont setfont
} bind def

/sf {f} bind def

/cf {
	dup length 2 idiv
	/entries exch def
	/chtab exch def
	/newencoding exch def
	/newfont exch def

	findfont dup length 1 add dict
	/newdict exch def
	{1 index /FID ne {newdict 3 1 roll put}{pop pop} ifelse} forall

	newencoding type /arraytype eq {newdict /Encoding newencoding put} if

	newdict /Metrics entries dict put
	newdict /Metrics get
	begin
		chtab aload pop
		1 1 entries {pop def} for
		newfont newdict definefont pop
	end
} bind def

%
% A few arrays used to adjust reference points and character widths in some
% of the printer resident fonts. If square roots are too high try changing
% the lines describing /radical and /radicalex to,
%
%	/radical	[0 -75 550 0]
%	/radicalex	[-50 -75 500 0]
%
% Move braceleftbt a bit - default PostScript character is off a bit.
%

/Sdefs [
	/bracketlefttp		[201 500]
	/bracketleftbt		[201 500]
	/bracketrighttp		[-81 380]
	/bracketrightbt		[-83 380]
	/braceleftbt		[203 490]
	/bracketrightex		[220 -125 500 0]
	/radical		[0 0 550 0]
	/radicalex		[-50 0 500 1]
	/parenleftex		[-20 -170 0 0]
	/integral		[100 -50 500 0]
	/infinity		[10 -75 730 0]
] def

/S1defs [
	/underscore		[0 80 500 0]
	/endash			[7 90 650 0]
] def
%
% Version 3.3.2 drawing procedures for dpost. Automatically pulled in when
% needed.
%

/inpath false def
/savematrix matrix def

/Dl {
	inpath
		{neg lineto pop pop}
		{newpath neg moveto neg lineto stroke}
	ifelse
} bind def

/De {
	/y1 exch 2 div def
	/x1 exch 2 div def
	/savematrix savematrix currentmatrix def
	neg exch x1 add exch translate
	x1 y1 scale
	0 0 1 0 360
	inpath
		{1 0 moveto arc savematrix setmatrix}
		{newpath arc savematrix setmatrix stroke}
	ifelse
} bind def

/Da {
	/dy2 exch def
	/dx2 exch def
	/dy1 exch def
	/dx1 exch def
	dy1 add neg exch dx1 add exch
	dx1 dx1 mul dy1 dy1 mul add sqrt
	dy1 dx1 neg atan
	dy2 neg dx2 atan
	inpath
		{arc}
		{newpath arc stroke}
	ifelse
} bind def

/DA {
	/dy2 exch def
	/dx2 exch def
	/dy1 exch def
	/dx1 exch def
	dy1 add neg exch dx1 add exch
	dx1 dx1 mul dy1 dy1 mul add sqrt
	dy1 dx1 neg atan
	dy2 neg dx2 atan
	inpath
		{arcn}
		{newpath arcn stroke}
	ifelse
} bind def

/Ds {
	/y2 exch def
	/x2 exch def
	/y1 exch def
	/x1 exch def
	/y0 exch def
	/x0 exch def
	x0 5 x1 mul add 6 div
	y0 5 y1 mul add -6 div
	x2 5 x1 mul add 6 div
	y2 5 y1 mul add -6 div
	x1 x2 add 2 div
	y1 y2 add -2 div
	inpath
		{curveto}
		{newpath x0 x1 add 2 div y0 y1 add -2 div moveto curveto stroke}
	ifelse
} bind def
%
% Tries to round clipping path dimensions, as stored in array pagebbox, so they
% match one of the known sizes in the papersizes array. Lower left coordinates
% are always set to 0.
%

/roundpagebbox {
    7 dict begin
	/papersizes [8.5 inch 11 inch 14 inch 17 inch] def

	/mappapersize {
		/val exch def
		/slop .5 inch def
		/diff slop def
		/j 0 def
		0 1 papersizes length 1 sub {
			/i exch def
			papersizes i get val sub abs
			dup diff le {/diff exch def /j i def} {pop} ifelse
		} for
		diff slop lt {papersizes j get} {val} ifelse
	} def

	pagebbox 0 0 put
	pagebbox 1 0 put
	pagebbox dup 2 get mappapersize 2 exch put
	pagebbox dup 3 get mappapersize 3 exch put
    end
} bind def

%%EndProlog
%%BeginSetup
mark
%
% Encoding vector and redefinition of findfont for the ISO Latin1 standard.
% The 18 characters missing from ROM based fonts on older printers are noted
% below.
%

/ISOLatin1Encoding [
	/.notdef
	/.notdef
	/.notdef
	/.notdef
	/.notdef
	/.notdef
	/.notdef
	/.notdef
	/.notdef
	/.notdef
	/.notdef
	/.notdef
	/.notdef
	/.notdef
	/.notdef
	/.notdef
	/.notdef
	/.notdef
	/.notdef
	/.notdef
	/.notdef
	/.notdef
	/.notdef
	/.notdef
	/.notdef
	/.notdef
	/.notdef
	/.notdef
	/.notdef
	/.notdef
	/.notdef
	/.notdef
	/space
	/exclam
	/quotedbl
	/numbersign
	/dollar
	/percent
	/ampersand
	/quoteright
	/parenleft
	/parenright
	/asterisk
	/plus
	/comma
	/minus
	/period
	/slash
	/zero
	/one
	/two
	/three
	/four
	/five
	/six
	/seven
	/eight
	/nine
	/colon
	/semicolon
	/less
	/equal
	/greater
	/question
	/at
	/A
	/B
	/C
	/D
	/E
	/F
	/G
	/H
	/I
	/J
	/K
	/L
	/M
	/N
	/O
	/P
	/Q
	/R
	/S
	/T
	/U
	/V
	/W
	/X
	/Y
	/Z
	/bracketleft
	/backslash
	/bracketright
	/asciicircum
	/underscore
	/quoteleft
	/a
	/b
	/c
	/d
	/e
	/f
	/g
	/h
	/i
	/j
	/k
	/l
	/m
	/n
	/o
	/p
	/q
	/r
	/s
	/t
	/u
	/v
	/w
	/x
	/y
	/z
	/braceleft
	/bar
	/braceright
	/asciitilde
	/.notdef
	/.notdef
	/.notdef
	/.notdef
	/.notdef
	/.notdef
	/.notdef
	/.notdef
	/.notdef
	/.notdef
	/.notdef
	/.notdef
	/.notdef
	/.notdef
	/.notdef
	/.notdef
	/.notdef
	/dotlessi
	/grave
	/acute
	/circumflex
	/tilde
	/macron
	/breve
	/dotaccent
	/dieresis
	/.notdef
	/ring
	/cedilla
	/.notdef
	/hungarumlaut
	/ogonek
	/caron
	/space
	/exclamdown
	/cent
	/sterling
	/currency
	/yen
	/brokenbar		% missing
	/section
	/dieresis
	/copyright
	/ordfeminine
	/guillemotleft
	/logicalnot
	/hyphen
	/registered
	/macron
	/degree			% missing
	/plusminus		% missing
	/twosuperior		% missing
	/threesuperior		% missing
	/acute
	/mu			% missing
	/paragraph
	/periodcentered
	/cedilla
	/onesuperior		% missing
	/ordmasculine
	/guillemotright
	/onequarter		% missing
	/onehalf		% missing
	/threequarters		% missing
	/questiondown
	/Agrave
	/Aacute
	/Acircumflex
	/Atilde
	/Adieresis
	/Aring
	/AE
	/Ccedilla
	/Egrave
	/Eacute
	/Ecircumflex
	/Edieresis
	/Igrave
	/Iacute
	/Icircumflex
	/Idieresis
	/Eth			% missing
	/Ntilde
	/Ograve
	/Oacute
	/Ocircumflex
	/Otilde
	/Odieresis
	/multiply		% missing
	/Oslash
	/Ugrave
	/Uacute
	/Ucircumflex
	/Udieresis
	/Yacute			% missing
	/Thorn			% missing
	/germandbls
	/agrave
	/aacute
	/acircumflex
	/atilde
	/adieresis
	/aring
	/ae
	/ccedilla
	/egrave
	/eacute
	/ecircumflex
	/edieresis
	/igrave
	/iacute
	/icircumflex
	/idieresis
	/eth			% missing
	/ntilde
	/ograve
	/oacute
	/ocircumflex
	/otilde
	/odieresis
	/divide			% missing
	/oslash
	/ugrave
	/uacute
	/ucircumflex
	/udieresis
	/yacute			% missing
	/thorn			% missing
	/ydieresis
] def

/NewFontDirectory FontDirectory maxlength dict def

%
% Apparently no guarantee findfont is defined in systemdict so the obvious
%
%	systemdict /findfont get exec
%
% can generate an error. So far the only exception is a VT600 (version 48.0).
%

userdict /@RealFindfont known not {
	userdict begin
		/@RealFindfont systemdict begin /findfont load end def
	end
} if

/findfont {
	dup NewFontDirectory exch known not {
		dup
		%dup systemdict /findfont get exec	% not always in systemdict
		dup userdict /@RealFindfont get exec
		dup /Encoding get StandardEncoding eq {
			dup length dict begin
				{1 index /FID ne {def}{pop pop} ifelse} forall
				/Encoding ISOLatin1Encoding def
				currentdict
			end
			/DummyFontName exch definefont
		} if
		NewFontDirectory 3 1 roll put
	} if
	NewFontDirectory exch get
} bind def

%%Patch from lp
%%EndPatch from lp

setup
%%EndSetup
%%Page: 1 1
/saveobj save def
mark
1 pagesetup
12 /LucidaSans-Demi f
(libgraphics: Design and Implementation) 1642 1230 w
10 /LucidaSans-Italic f
(Rodrigo G. L\363pez) 2469 1470 w
(rgl@antares-labs.eu) 2377 1590 w
(ABSTRACT) 2626 2030 w
(Libgraphics) 1330 2290 w
10 /LucidaSansUnicode00 f
(is) 1930 2290 w
(a) 2044 2290 w
(3D) 2133 2290 w
(computer) 2305 2290 w
(graphics) 2803 2290 w
(library) 3251 2290 w
(that) 3596 2290 w
(provides) 3822 2290 w
(a) 4273 2290 w
(way) 4363 2290 w
(to) 4582 2290 w
(set) 1080 2410 w
(up) 1265 2410 w
(a) 1431 2410 w
(scene,) 1527 2410 w
(fill) 1876 2410 w
(it) 2041 2410 w
(up) 2148 2410 w
(with) 2314 2410 w
(a) 2560 2410 w
(bunch) 2656 2410 w
(of) 2997 2410 w
(models) 3135 2410 w
(\(with) 3528 2410 w
(their) 3806 2410 w
(own) 4071 2410 w
(meshes) 4311 2410 w
(and) 1080 2530 w
(materials\),) 1303 2530 w
(lights) 1857 2530 w
(and) 2170 2530 w
(cameras,) 2393 2530 w
(and) 2870 2530 w
(start) 3093 2530 w
(taking) 3357 2530 w
(pictures) 3703 2530 w
(at) 4136 2530 w
(the) 4271 2530 w
(user) 4470 2530 w
(request.) 1080 2650 w
(It) 1562 2650 w
(implements) 1680 2650 w
(a) 2301 2650 w
(fully) 2408 2650 w
(concurrent) 2669 2650 w
(retained) 3245 2650 w
(mode) 3696 2650 w
(software) 4021 2650 w
(ren\255) 4488 2650 w
(derer,) 1080 2770 w
(with) 1418 2770 w
(support) 1672 2770 w
(for) 2099 2770 w
(vertex) 2287 2770 w
(and) 2639 2770 w
(fragment/pixel) 2868 2770 w
(shaders) 3652 2770 w
(written) 4081 2770 w
(in) 4470 2770 w
(C) 4611 2770 w
(\(not) 1080 2890 w
(GPU) 1326 2890 w
(ones,) 1575 2890 w
(at) 1890 2890 w
(least) 2035 2890 w
(for) 2316 2890 w
(now\),) 2508 2890 w
(and) 2825 2890 w
(featuring) 3057 2890 w
(a) 3550 2890 w
(z-buffer,) 3657 2890 w
(front-) 4152 2890 w
(and) 4500 2890 w
(back-face) 1080 3010 w
(culling,) 1598 3010 w
(textures) 1988 3010 w
(and) 2424 3010 w
(skyboxes,) 2639 3010 w
(directional) 3159 3010 w
(and) 3707 3010 w
(punctual) 3922 3010 w
(lights,) 4378 3010 w
(tangent-space normal mapping, among other things.) 1080 3130 w
10 /LucidaSans-Demi f
(Introduction) 720 3490 w
10 /LucidaSansUnicode00 f
(Write the intro last.) 970 3682 w
10 /LucidaSans-Demi f
(1.) 720 3922 w
(The scene) 873 3922 w
10 /LucidaSansUnicode00 f
(A) 970 4078 w
(scene) 1072 4078 w
(is) 1381 4078 w
(a) 1494 4078 w
(container,) 1582 4078 w
(represented) 2101 4078 w
(as) 2716 4078 w
(a) 2855 4078 w
(graph,) 2944 4078 w
(that) 3293 4078 w
(hosts) 3518 4078 w
(the) 3814 4078 w
(entities) 4003 4078 w
(that) 4394 4078 w
(make) 4619 4078 w
(up) 4915 4078 w
(the) 720 4198 w
(world.) 913 4198 w
(Each) 1286 4198 w
(of) 1545 4198 w
(these) 1680 4198 w
(entities) 1979 4198 w
(has) 2373 4198 w
(a) 2578 4198 w
(model) 2670 4198 w
(made) 3009 4198 w
(out) 3313 4198 w
(of) 3510 4198 w
(a) 3645 4198 w
(series) 3737 4198 w
(of) 4058 4198 w
(meshes,) 4193 4198 w
(which) 4631 4198 w
(in) 4949 4198 w
(turn) 720 4318 w
(are) 977 4318 w
(made) 1184 4318 w
(out) 1506 4318 w
(of) 1721 4318 w
(geometric) 1874 4318 w
(primitives) 2415 4318 w
(\(only) 2950 4318 w
10 /LucidaSans-Italic f
(points) 3242 4318 w
10 /LucidaSansUnicode00 f
(,) 3538 4318 w
10 /LucidaSans-Italic f
(lines) 3625 4318 w
10 /LucidaSansUnicode00 f
(and) 3902 4318 w
10 /LucidaSans-Italic f
(triangles) 4137 4318 w
10 /LucidaSansUnicode00 f
(are) 4623 4318 w
(sup\255) 4831 4318 w
(ported\). Each model also stores a list of materials.) 720 4438 w
2196 4780 2196 4636 Dl
2196 4636 2556 4636 Dl
2556 4636 2556 4780 Dl
2556 4780 2196 4780 Dl
7 /LucidaSansUnicode00 f
(Scene) 2279 4722 w
2376 4780 2376 4924 Dl
2376 4924 2448 4924 Dl
2448 4996 2448 4852 Dl
2448 4852 2808 4852 Dl
2808 4852 2808 4996 Dl
2808 4996 2448 4996 Dl
(Entity) 2534 4938 w
2628 4996 2628 5140 Dl
2628 5140 2700 5140 Dl
2700 5212 2700 5068 Dl
2700 5068 3060 5068 Dl
3060 5068 3060 5212 Dl
3060 5212 2700 5212 Dl
(Model) 2777 5154 w
2880 5212 2880 5356 Dl
2880 5356 2952 5356 Dl
2952 5428 2988 5428 Dl
3033 5428 3069 5428 Dl
3114 5428 3150 5428 Dl
3195 5428 3231 5428 Dl
3276 5428 3312 5428 Dl
3312 5428 3312 5392 Dl
3312 5374 3312 5338 Dl
3312 5320 3312 5284 Dl
3312 5284 3276 5284 Dl
3231 5284 3195 5284 Dl
3150 5284 3114 5284 Dl
3069 5284 3033 5284 Dl
2988 5284 2952 5284 Dl
2952 5284 2952 5320 Dl
2952 5338 2952 5374 Dl
2952 5392 2952 5428 Dl
(Mesh) 3043 5370 w
3132 5428 3132 5572 Dl
3132 5572 3204 5572 Dl
3204 5644 3204 5500 Dl
3204 5500 3564 5500 Dl
3564 5500 3564 5644 Dl
3564 5644 3204 5644 Dl
(Primitive) 3237 5586 w
3132 5572 3132 5716 Dl
3132 5716 3132 5860 Dl
3132 5860 3204 5860 Dl
3204 5932 3204 5788 Dl
3204 5788 3564 5788 Dl
3564 5788 3564 5932 Dl
3564 5932 3204 5932 Dl
(Material) 3248 5874 w
10 /LucidaSans-Demi f
(Figure 1) 2219 6130 w
10 /LucidaSansUnicode00 f
(: The scene graph.) 2641 6130 w
10 /LucidaSans-Demi f
(1.1.) 720 6370 w
(Entities) 962 6370 w
(1.2.) 720 6610 w
(Models) 962 6610 w
10 /LucidaSansUnicode00 f
(July 23, 2024) 2556 7680 w
cleartomark
showpage
saveobj restore
%%EndPage: 1 1
%%Page: 2 2
/saveobj save def
mark
2 pagesetup
10 /LucidaSansUnicode00 f
(\255 2 \255) 2783 480 w
10 /LucidaSans-Demi f
(1.3.) 720 840 w
(Meshes) 962 840 w
(1.4.) 720 1080 w
(Primitives) 962 1080 w
(1.5.) 720 1320 w
(Materials) 962 1320 w
(2.) 720 1560 w
(Cameras) 873 1560 w
(3.) 720 1956 w
(The renderer) 873 1956 w
10 /LucidaSansUnicode00 f
(The) 720 2112 w
10 /LucidaSans-Italic f
(renderer) 938 2112 w
10 /LucidaSansUnicode00 f
(is) 1401 2112 w
(the) 1518 2112 w
(core) 1710 2112 w
(of) 1956 2112 w
(the) 2091 2112 w
(library.) 2283 2112 w
(It) 2662 2112 w
(follows) 2766 2112 w
(a) 3149 2112 w
10 /LucidaSans-Demi f
(retained) 3242 2112 w
(mode) 3708 2112 w
10 /LucidaSansUnicode00 f
(model,) 4032 2112 w
(which) 4404 2112 w
(means) 4723 2112 w
(that) 720 2232 w
(the) 955 2232 w
(user) 1154 2232 w
(won) 1408 2232 w
10 /LucidaSansUnicode20 f
(\031) 1608 2232 w
10 /LucidaSansUnicode00 f
(t) 1640 2232 w
(get) 1721 2232 w
(a) 1920 2232 w
(picture) 2019 2232 w
(until) 2402 2232 w
(the) 2665 2232 w
(entire) 2864 2232 w
(scene) 3189 2232 w
(has) 3509 2232 w
(been) 3721 2232 w
(rendered.) 4002 2232 w
(Thanks) 4548 2232 w
(to) 4942 2232 w
(this) 720 2352 w
(we) 944 2352 w
(can) 1122 2352 w
(also) 1335 2352 w
(clear) 1576 2352 w
(and) 1853 2352 w
(swap) 2078 2352 w
(the) 2369 2352 w
(framebuffers) 2569 2352 w
(without) 3243 2352 w
(their) 3653 2352 w
(intervention,) 3923 2352 w
(they) 4584 2352 w
(only) 4836 2352 w
(need to concern themselves with shooting and ) 720 2472 w
10 /LucidaSansUnicode20 f
(\034) 3016 2472 w
10 /LucidaSansUnicode00 f
(developing) 3053 2472 w
10 /LucidaSansUnicode20 f
(\035) 3586 2472 w
10 /LucidaSansUnicode00 f
(a camera.) 3655 2472 w
(It) 720 2628 w
10 /LucidaSansUnicode20 f
(\031) 786 2628 w
10 /LucidaSansUnicode00 f
(s implemented as a tree of concurrent processes) 818 2628 w
(connected) 3217 2628 w
(by) 3749 2628 w
10 /LucidaTypewriter f
(Channel) 3897 2628 w
10 /LucidaSansUnicode00 f
(s) 4401 2628 w
10 /LucidaSansUnicode20 f
(\024) 4452 2628 w
10 /LucidaSansUnicode00 f
(as) 4552 2628 w
(seen) 4691 2628 w
(in) 4949 2628 w
10 /LucidaSans-Demi f
(Figure) 720 2748 w
(2) 1088 2748 w
10 /LucidaSansUnicode20 f
(\024) 1152 2748 w
10 /LucidaSansUnicode00 f
(,) 1252 2748 w
(spawned) 1326 2748 w
(with) 1795 2748 w
(a) 2042 2748 w
(call) 2139 2748 w
(to) 2345 2748 w
10 /LucidaTypewriter f
(initgraphics) 2485 2748 w
10 /LucidaSansUnicode00 f
(,) 3349 2748 w
(each) 3423 2748 w
(representing) 3689 2748 w
(a) 4347 2748 w
(stage) 4444 2748 w
(of) 4746 2748 w
(the) 4885 2748 w
(pipeline:) 720 2868 w
10 /LucidaSansUnicode20 f
(") 720 3024 w
10 /LucidaSansUnicode00 f
(The) 970 3024 w
10 /LucidaSans-Demi f
(renderer) 1234 3024 w
10 /LucidaSansUnicode00 f
(process,) 1761 3024 w
(the) 2250 3024 w
(root) 2488 3024 w
(of) 2771 3024 w
(the) 2952 3024 w
(tree,) 3190 3024 w
(waits) 3495 3024 w
(on) 3828 3024 w
(a) 4035 3024 w
10 /LucidaTypewriter f
(channel) 4174 3024 w
10 /LucidaSansUnicode00 f
(for) 4762 3024 w
(a) 4985 3024 w
10 /LucidaTypewriter f
(Renderjob) 970 3144 w
10 /LucidaSansUnicode00 f
(sent) 1667 3144 w
(by) 1922 3144 w
(another) 2086 3144 w
(user) 2509 3144 w
(process,) 2768 3144 w
(specifying) 3223 3144 w
(a) 3764 3144 w
(framebuffer,) 3868 3144 w
(a) 4526 3144 w
(scene,) 4629 3144 w
(a) 4985 3144 w
(camera) 970 3264 w
(and) 1362 3264 w
(a) 1583 3264 w
(shader) 1680 3264 w
(table.) 2050 3264 w
(It) 2396 3264 w
(walks) 2504 3264 w
(the) 2816 3264 w
(scene) 3013 3264 w
(and) 3331 3264 w
(sends) 3553 3264 w
(each) 3878 3264 w
10 /LucidaTypewriter f
(Entity) 4144 3264 w
10 /LucidaSansUnicode00 f
(individu\255) 4618 3264 w
(ally to the entityproc.) 970 3384 w
10 /LucidaSansUnicode20 f
(") 720 3540 w
10 /LucidaSansUnicode00 f
(The) 970 3540 w
10 /LucidaSans-Demi f
(entityproc) 1198 3540 w
10 /LucidaSansUnicode00 f
(receives) 1771 3540 w
(an) 2210 3540 w
(entity) 2374 3540 w
(and) 2694 3540 w
(splits) 2921 3540 w
(its) 3228 3540 w
(geometry) 3393 3540 w
(equitatively) 3899 3540 w
(among) 4504 3540 w
(the) 4885 3540 w
(tilers, sending a batch for each of them to process.) 970 3660 w
10 /LucidaSansUnicode20 f
(") 720 3816 w
10 /LucidaSansUnicode00 f
(Next,) 970 3816 w
(each) 1293 3816 w
10 /LucidaSans-Demi f
(tiler) 1580 3816 w
10 /LucidaSansUnicode00 f
(gets) 1854 3816 w
(to) 2123 3816 w
(work) 2284 3816 w
(on) 2584 3816 w
(their) 2770 3816 w
(subset) 3058 3816 w
(of) 3441 3816 w
(the) 3602 3816 w
(geometry) 3820 3816 w
(\(potentially) 4342 3816 w
(in) 4949 3816 w
(parallel\)) 970 3936 w
10 /LucidaSansUnicode20 f
(\024) 1360 3936 w
10 /LucidaSansUnicode00 f
(see) 1460 3936 w
10 /LucidaSans-Demi f
(Figure) 1675 3936 w
(3) 2053 3936 w
10 /LucidaSansUnicode00 f
(.) 2117 3936 w
(They) 2233 3936 w
(walk) 2518 3936 w
(the) 2789 3936 w
(list) 2996 3936 w
(of) 3194 3936 w
(primitives,) 3344 3936 w
(then) 3908 3936 w
(for) 4177 3936 w
(each) 4368 3936 w
(of) 4643 3936 w
(them) 4792 3936 w
(apply) 970 4056 w
(the) 1281 4056 w
10 /LucidaSans-Demi f
(vertex) 1485 4056 w
(shader) 1856 4056 w
10 /LucidaSansUnicode00 f
(to) 2257 4056 w
(its) 2405 4056 w
(vertices) 2572 4056 w
(\(which) 2995 4056 w
(expects) 3359 4056 w
(clip) 3784 4056 w
(space) 4006 4056 w
(coordinates) 4332 4056 w
(in) 4949 4056 w
(return\),) 970 4176 w
(perform) 1378 4176 w
(frustum) 1813 4176 w
(culling) 2239 4176 w
(and) 2606 4176 w
(clipping,) 2829 4176 w
(back-face) 3292 4176 w
(culling,) 3819 4176 w
(and) 4218 4176 w
(then) 4441 4176 w
(project) 4701 4176 w
(them) 970 4296 w
(into) 1258 4296 w
(the) 1487 4296 w
(viewport) 1682 4296 w
(\(screen) 2138 4296 w
(space\).) 2528 4296 w
(Following) 2941 4296 w
(this) 3445 4296 w
(step,) 3665 4296 w
(they) 3945 4296 w
(build) 4193 4296 w
(a) 4480 4296 w
(bounding) 4576 4296 w
(box,) 970 4416 w
(used) 1220 4416 w
(to) 1485 4416 w
(allocate) 1616 4416 w
(each) 2022 4416 w
(primitive) 2279 4416 w
(into a rasterization bucket, or) 2741 4416 w
10 /LucidaSans-Demi f
(tile) 4217 4416 w
10 /LucidaSansUnicode00 f
(, managed by) 4383 4416 w
(one) 970 4536 w
(of) 1183 4536 w
(the) 1315 4536 w
(rasterizers;) 1504 4536 w
(as) 2085 4536 w
(illustrated) 2226 4536 w
(in) 2750 4536 w
10 /LucidaSans-Demi f
(Figure) 2876 4536 w
(4) 3237 4536 w
10 /LucidaSansUnicode00 f
(.) 3301 4536 w
(If) 3400 4536 w
(it) 3501 4536 w
(spans) 3602 4536 w
(multiple) 3919 4536 w
(tiles,) 4352 4536 w
(it) 4621 4536 w
(will) 4722 4536 w
(be) 4921 4536 w
(copied and sent to each of them.) 970 4656 w
10 /LucidaSansUnicode20 f
(") 720 4812 w
10 /LucidaSansUnicode00 f
(Finally,) 970 4812 w
(the) 1346 4812 w
10 /LucidaSans-Demi f
(rasterizers) 1535 4812 w
10 /LucidaSansUnicode00 f
(receive) 2128 4812 w
(the) 2503 4812 w
(primitive) 2692 4812 w
(in) 3155 4812 w
(screen) 3280 4812 w
(space,) 3631 4812 w
(slice) 3974 4812 w
(it) 4225 4812 w
(to) 4326 4812 w
(fit) 4459 4812 w
(their) 4597 4812 w
(tile,) 4857 4812 w
(and) 970 4932 w
(apply) 1186 4932 w
(a) 1484 4932 w
(rasterization) 1575 4932 w
(routine) 2222 4932 w
(based) 2606 4932 w
(on) 2930 4932 w
(its) 3089 4932 w
(type.) 3242 4932 w
(For) 3518 4932 w
(each) 3710 4932 w
(of) 3970 4932 w
(the) 4104 4932 w
(pixels,) 4295 4932 w
(a) 4652 4932 w
10 /LucidaSans-Demi f
(depth) 4742 4932 w
(test) 970 5052 w
10 /LucidaSansUnicode00 f
(is) 1215 5052 w
(performed,) 1343 5052 w
(discarding) 1934 5052 w
(fragments) 2488 5052 w
(that) 3030 5052 w
(are) 3269 5052 w
(further) 3469 5052 w
(away.) 3853 5052 w
(Then) 4172 5052 w
(a) 4463 5052 w
10 /LucidaSans-Demi f
(fragment) 4566 5052 w
(shader) 970 5172 w
10 /LucidaSansUnicode00 f
(is applied and the result written to the framebuffer after blending.) 1354 5172 w
1026 6522 1026 6162 Dl
1026 6162 1566 6162 Dl
1566 6162 1566 6522 Dl
1566 6522 1026 6522 Dl
7 /LucidaSansUnicode00 f
(Renderjob) 1123 6356 w
1566 6342 1926 6342 Dl
1854 6360 1926 6342 Dl
1853 6355 1925 6342 Dl
1852 6351 1925 6342 Dl
1851 6346 1925 6342 Dl
1851 6342 1925 6342 Dl
1851 6337 1925 6341 Dl
1852 6332 1925 6341 Dl
1853 6328 1925 6341 Dl
1854 6324 1926 6342 Dl
1926 6342 432 432 De
(renderer) 1997 6356 w
2358 6342 2718 6342 Dl
2646 6360 2718 6342 Dl
2645 6355 2717 6342 Dl
2644 6351 2717 6342 Dl
2643 6346 2717 6342 Dl
2643 6342 2717 6342 Dl
2643 6337 2717 6341 Dl
2644 6332 2717 6341 Dl
2645 6328 2717 6341 Dl
2646 6324 2718 6342 Dl
2718 6342 432 432 De
(entityproc) 2763 6356 w
3510 5586 432 432 De
(tiler) 3626 5600 w
(1) 3782 5600 w
3510 6090 432 432 De
(tiler) 3626 6104 w
(2) 3782 6104 w
3510 6594 432 432 De
7 /LucidaSansUnicode20 f
(&) 3691 6608 w
3510 7098 432 432 De
7 /LucidaSansUnicode00 f
(tiler) 3627 7112 w
(n) 3783 7112 w
4302 5586 432 432 De
(rasterizer) 4322 5600 w
(1) 4670 5600 w
4302 6090 432 432 De
(rasterizer) 4322 6104 w
(2) 4670 6104 w
4302 6594 432 432 De
7 /LucidaSansUnicode20 f
(&) 4483 6608 w
4302 7098 432 432 De
7 /LucidaSansUnicode00 f
(rasterizer) 4323 7112 w
(n) 4671 7112 w
3090 6192 3569 5735 Dl
3530 5797 3569 5735 Dl
3526 5795 3569 5735 Dl
3522 5792 3568 5735 Dl
3519 5789 3569 5735 Dl
3515 5786 3569 5735 Dl
3512 5783 3568 5736 Dl
3510 5779 3569 5735 Dl
3507 5775 3568 5735 Dl
3504 5771 3568 5735 Dl
3139 6276 3519 6156 Dl
3456 6194 3519 6156 Dl
3454 6190 3519 6155 Dl
3452 6186 3519 6156 Dl
3450 6182 3519 6156 Dl
3449 6177 3519 6155 Dl
3448 6173 3520 6155 Dl
3447 6169 3519 6156 Dl
3446 6164 3519 6155 Dl
3445 6159 3519 6155 Dl
3139 6407 3519 6527 Dl
3445 6524 3519 6528 Dl
3446 6519 3519 6528 Dl
3447 6514 3519 6527 Dl
3448 6510 3520 6528 Dl
3449 6506 3519 6528 Dl
3450 6501 3519 6527 Dl
3452 6497 3519 6527 Dl
3454 6493 3519 6528 Dl
3456 6489 3519 6527 Dl
3090 6491 3569 6948 Dl
3504 6912 3568 6948 Dl
3507 6908 3568 6948 Dl
3510 6904 3569 6948 Dl
3512 6900 3568 6947 Dl
3515 6897 3569 6948 Dl
3519 6894 3569 6948 Dl
3522 6891 3568 6948 Dl
3526 6888 3569 6948 Dl
3530 6886 3569 6948 Dl
3942 5586 4302 5586 Dl
4230 5604 4302 5586 Dl
4229 5599 4301 5586 Dl
4228 5595 4301 5586 Dl
4227 5590 4301 5586 Dl
4227 5586 4301 5586 Dl
4227 5581 4301 5585 Dl
4228 5576 4301 5585 Dl
4229 5572 4301 5585 Dl
4230 5568 4302 5586 Dl
3908 5701 4335 5973 Dl
4265 5950 4335 5973 Dl
4266 5946 4335 5974 Dl
4268 5942 4334 5973 Dl
4271 5938 4335 5974 Dl
4273 5934 4335 5973 Dl
4275 5930 4334 5973 Dl
4278 5926 4335 5973 Dl
4281 5923 4335 5973 Dl
4284 5920 4335 5974 Dl
3859 5755 4383 6423 Dl
4325 6378 4383 6423 Dl
4328 6375 4383 6423 Dl
4332 6371 4384 6423 Dl
4335 6368 4384 6423 Dl
4338 6365 4384 6423 Dl
4342 6362 4384 6423 Dl
4345 6360 4383 6423 Dl
4350 6358 4384 6423 Dl
4354 6356 4384 6423 Dl
3826 5777 4417 6906 Dl
4368 6851 4417 6906 Dl
4371 6848 4417 6906 Dl
4375 6845 4417 6906 Dl
4379 6843 4417 6906 Dl
4383 6840 4417 6905 Dl
4387 6838 4417 6905 Dl
4391 6837 4416 6906 Dl
4395 6835 4416 6906 Dl
4400 6834 4417 6906 Dl
3908 5974 4335 5702 Dl
4284 5755 4335 5701 Dl
4281 5752 4335 5702 Dl
4278 5749 4335 5702 Dl
4275 5745 4334 5702 Dl
4273 5741 4335 5702 Dl
4271 5737 4335 5701 Dl
4268 5733 4334 5702 Dl
4266 5730 4335 5702 Dl
4265 5725 4335 5702 Dl
3942 6090 4302 6090 Dl
4230 6108 4302 6090 Dl
4229 6103 4301 6090 Dl
4228 6099 4301 6090 Dl
4227 6094 4301 6090 Dl
4227 6090 4301 6090 Dl
4227 6085 4301 6089 Dl
4228 6080 4301 6089 Dl
4229 6076 4301 6089 Dl
4230 6072 4302 6090 Dl
3908 6205 4335 6477 Dl
4265 6454 4335 6477 Dl
4266 6450 4335 6478 Dl
4268 6446 4334 6477 Dl
4271 6442 4335 6478 Dl
4273 6438 4335 6477 Dl
4275 6434 4334 6477 Dl
4278 6430 4335 6477 Dl
4281 6427 4335 6477 Dl
4284 6424 4335 6478 Dl
3859 6259 4383 6927 Dl
4325 6882 4383 6927 Dl
4328 6879 4383 6927 Dl
4332 6875 4384 6927 Dl
4335 6872 4384 6927 Dl
4338 6869 4384 6927 Dl
4342 6866 4384 6927 Dl
4345 6864 4383 6927 Dl
4350 6862 4384 6927 Dl
4354 6860 4384 6927 Dl
10 /LucidaSansUnicode00 f
(July 23, 2024) 2556 7680 w
cleartomark
showpage
saveobj restore
%%EndPage: 2 2
%%Page: 3 3
/saveobj save def
mark
3 pagesetup
10 /LucidaSansUnicode00 f
(\255 3 \255) 2783 480 w
10 /LucidaSans-Demi f
(Figure 2) 1437 840 w
10 /LucidaSansUnicode00 f
(: The rendering graph for a) 1859 840 w
10 /LucidaSans-Demi f
(2n) 3213 840 w
10 /LucidaSansUnicode00 f
(processor machine.) 3375 840 w
2070 1830 2106 1830 Dl
2142 1830 2178 1830 Dl
2214 1830 2250 1830 Dl
2286 1830 2322 1830 Dl
2358 1830 2394 1830 Dl
2430 1830 2466 1830 Dl
2502 1830 2538 1830 Dl
2574 1830 2610 1830 Dl
2646 1830 2682 1830 Dl
2718 1830 2754 1830 Dl
2790 1830 2826 1830 Dl
2862 1830 2898 1830 Dl
2934 1830 2970 1830 Dl
2970 1830 2970 1794 Dl
2970 1776 2970 1740 Dl
2970 1722 2970 1686 Dl
2970 1686 2934 1686 Dl
2898 1686 2862 1686 Dl
2826 1686 2790 1686 Dl
2754 1686 2718 1686 Dl
2682 1686 2646 1686 Dl
2610 1686 2574 1686 Dl
2538 1686 2502 1686 Dl
2466 1686 2430 1686 Dl
2394 1686 2358 1686 Dl
2322 1686 2286 1686 Dl
2250 1686 2214 1686 Dl
2178 1686 2142 1686 Dl
2106 1686 2070 1686 Dl
2070 1686 2070 1722 Dl
2070 1740 2070 1776 Dl
2070 1794 2070 1830 Dl
7 /LucidaSansUnicode00 f
(tile 1) 2435 1772 w
2070 1974 2106 1974 Dl
2142 1974 2178 1974 Dl
2214 1974 2250 1974 Dl
2286 1974 2322 1974 Dl
2358 1974 2394 1974 Dl
2430 1974 2466 1974 Dl
2502 1974 2538 1974 Dl
2574 1974 2610 1974 Dl
2646 1974 2682 1974 Dl
2718 1974 2754 1974 Dl
2790 1974 2826 1974 Dl
2862 1974 2898 1974 Dl
2934 1974 2970 1974 Dl
2970 1974 2970 1938 Dl
2970 1920 2970 1884 Dl
2970 1866 2970 1830 Dl
2970 1830 2934 1830 Dl
2898 1830 2862 1830 Dl
2826 1830 2790 1830 Dl
2754 1830 2718 1830 Dl
2682 1830 2646 1830 Dl
2610 1830 2574 1830 Dl
2538 1830 2502 1830 Dl
2466 1830 2430 1830 Dl
2394 1830 2358 1830 Dl
2322 1830 2286 1830 Dl
2250 1830 2214 1830 Dl
2178 1830 2142 1830 Dl
2106 1830 2070 1830 Dl
2070 1830 2070 1866 Dl
2070 1884 2070 1920 Dl
2070 1938 2070 1974 Dl
(tile 2) 2435 1916 w
2070 2118 2106 2118 Dl
2142 2118 2178 2118 Dl
2214 2118 2250 2118 Dl
2286 2118 2322 2118 Dl
2358 2118 2394 2118 Dl
2430 2118 2466 2118 Dl
2502 2118 2538 2118 Dl
2574 2118 2610 2118 Dl
2646 2118 2682 2118 Dl
2718 2118 2754 2118 Dl
2790 2118 2826 2118 Dl
2862 2118 2898 2118 Dl
2934 2118 2970 2118 Dl
2970 2118 2970 2082 Dl
2970 2064 2970 2028 Dl
2970 2010 2970 1974 Dl
2970 1974 2934 1974 Dl
2898 1974 2862 1974 Dl
2826 1974 2790 1974 Dl
2754 1974 2718 1974 Dl
2682 1974 2646 1974 Dl
2610 1974 2574 1974 Dl
2538 1974 2502 1974 Dl
2466 1974 2430 1974 Dl
2394 1974 2358 1974 Dl
2322 1974 2286 1974 Dl
2250 1974 2214 1974 Dl
2178 1974 2142 1974 Dl
2106 1974 2070 1974 Dl
2070 1974 2070 2010 Dl
2070 2028 2070 2064 Dl
2070 2082 2070 2118 Dl
7 /LucidaSansUnicode20 f
(&) 2485 2060 w
2070 2262 2106 2262 Dl
2142 2262 2178 2262 Dl
2214 2262 2250 2262 Dl
2286 2262 2322 2262 Dl
2358 2262 2394 2262 Dl
2430 2262 2466 2262 Dl
2502 2262 2538 2262 Dl
2574 2262 2610 2262 Dl
2646 2262 2682 2262 Dl
2718 2262 2754 2262 Dl
2790 2262 2826 2262 Dl
2862 2262 2898 2262 Dl
2934 2262 2970 2262 Dl
2970 2262 2970 2226 Dl
2970 2208 2970 2172 Dl
2970 2154 2970 2118 Dl
2970 2118 2934 2118 Dl
2898 2118 2862 2118 Dl
2826 2118 2790 2118 Dl
2754 2118 2718 2118 Dl
2682 2118 2646 2118 Dl
2610 2118 2574 2118 Dl
2538 2118 2502 2118 Dl
2466 2118 2430 2118 Dl
2394 2118 2358 2118 Dl
2322 2118 2286 2118 Dl
2250 2118 2214 2118 Dl
2178 2118 2142 2118 Dl
2106 2118 2070 2118 Dl
2070 2118 2070 2154 Dl
2070 2172 2070 2208 Dl
2070 2226 2070 2262 Dl
7 /LucidaSansUnicode00 f
(tile n) 2435 2204 w
2034 2298 2034 1650 Dl
2034 1650 3006 1650 Dl
3006 1650 3006 2298 Dl
3006 2298 2034 2298 Dl
(Framebuf) 1675 1700 w
3330 1218 432 432 De
(rasterizer) 3350 1232 w
(1) 3698 1232 w
3330 1722 432 432 De
(rasterizer) 3350 1736 w
(2) 3698 1736 w
3330 2226 432 432 De
7 /LucidaSansUnicode20 f
(&) 3511 2240 w
3330 2730 432 432 De
7 /LucidaSansUnicode00 f
(rasterizer) 3351 2744 w
(n) 3699 2744 w
2970 1758 3330 1218 Dl
2970 1902 3330 1722 Dl
2970 2046 3330 2226 Dl
2970 2190 3330 2730 Dl
10 /LucidaSans-Demi f
(Figure 3) 2180 3144 w
10 /LucidaSansUnicode00 f
(: Per tile rasterizers.) 2602 3144 w
2070 4134 2106 4134 Dl
2142 4134 2178 4134 Dl
2214 4134 2250 4134 Dl
2286 4134 2322 4134 Dl
2358 4134 2394 4134 Dl
2430 4134 2466 4134 Dl
2502 4134 2538 4134 Dl
2574 4134 2610 4134 Dl
2646 4134 2682 4134 Dl
2718 4134 2754 4134 Dl
2790 4134 2826 4134 Dl
2862 4134 2898 4134 Dl
2934 4134 2970 4134 Dl
2970 4134 2970 4098 Dl
2970 4080 2970 4044 Dl
2970 4026 2970 3990 Dl
2970 3990 2934 3990 Dl
2898 3990 2862 3990 Dl
2826 3990 2790 3990 Dl
2754 3990 2718 3990 Dl
2682 3990 2646 3990 Dl
2610 3990 2574 3990 Dl
2538 3990 2502 3990 Dl
2466 3990 2430 3990 Dl
2394 3990 2358 3990 Dl
2322 3990 2286 3990 Dl
2250 3990 2214 3990 Dl
2178 3990 2142 3990 Dl
2106 3990 2070 3990 Dl
2070 3990 2070 4026 Dl
2070 4044 2070 4080 Dl
2070 4098 2070 4134 Dl
7 /LucidaSansUnicode00 f
(1) 2498 4076 w
2070 4278 2106 4278 Dl
2142 4278 2178 4278 Dl
2214 4278 2250 4278 Dl
2286 4278 2322 4278 Dl
2358 4278 2394 4278 Dl
2430 4278 2466 4278 Dl
2502 4278 2538 4278 Dl
2574 4278 2610 4278 Dl
2646 4278 2682 4278 Dl
2718 4278 2754 4278 Dl
2790 4278 2826 4278 Dl
2862 4278 2898 4278 Dl
2934 4278 2970 4278 Dl
2970 4278 2970 4242 Dl
2970 4224 2970 4188 Dl
2970 4170 2970 4134 Dl
2970 4134 2934 4134 Dl
2898 4134 2862 4134 Dl
2826 4134 2790 4134 Dl
2754 4134 2718 4134 Dl
2682 4134 2646 4134 Dl
2610 4134 2574 4134 Dl
2538 4134 2502 4134 Dl
2466 4134 2430 4134 Dl
2394 4134 2358 4134 Dl
2322 4134 2286 4134 Dl
2250 4134 2214 4134 Dl
2178 4134 2142 4134 Dl
2106 4134 2070 4134 Dl
2070 4134 2070 4170 Dl
2070 4188 2070 4224 Dl
2070 4242 2070 4278 Dl
(2) 2498 4220 w
2070 4422 2106 4422 Dl
2142 4422 2178 4422 Dl
2214 4422 2250 4422 Dl
2286 4422 2322 4422 Dl
2358 4422 2394 4422 Dl
2430 4422 2466 4422 Dl
2502 4422 2538 4422 Dl
2574 4422 2610 4422 Dl
2646 4422 2682 4422 Dl
2718 4422 2754 4422 Dl
2790 4422 2826 4422 Dl
2862 4422 2898 4422 Dl
2934 4422 2970 4422 Dl
2970 4422 2970 4386 Dl
2970 4368 2970 4332 Dl
2970 4314 2970 4278 Dl
2970 4278 2934 4278 Dl
2898 4278 2862 4278 Dl
2826 4278 2790 4278 Dl
2754 4278 2718 4278 Dl
2682 4278 2646 4278 Dl
2610 4278 2574 4278 Dl
2538 4278 2502 4278 Dl
2466 4278 2430 4278 Dl
2394 4278 2358 4278 Dl
2322 4278 2286 4278 Dl
2250 4278 2214 4278 Dl
2178 4278 2142 4278 Dl
2106 4278 2070 4278 Dl
2070 4278 2070 4314 Dl
2070 4332 2070 4368 Dl
2070 4386 2070 4422 Dl
7 /LucidaSansUnicode20 f
(&) 2485 4364 w
2070 4566 2106 4566 Dl
2142 4566 2178 4566 Dl
2214 4566 2250 4566 Dl
2286 4566 2322 4566 Dl
2358 4566 2394 4566 Dl
2430 4566 2466 4566 Dl
2502 4566 2538 4566 Dl
2574 4566 2610 4566 Dl
2646 4566 2682 4566 Dl
2718 4566 2754 4566 Dl
2790 4566 2826 4566 Dl
2862 4566 2898 4566 Dl
2934 4566 2970 4566 Dl
2970 4566 2970 4530 Dl
2970 4512 2970 4476 Dl
2970 4458 2970 4422 Dl
2970 4422 2934 4422 Dl
2898 4422 2862 4422 Dl
2826 4422 2790 4422 Dl
2754 4422 2718 4422 Dl
2682 4422 2646 4422 Dl
2610 4422 2574 4422 Dl
2538 4422 2502 4422 Dl
2466 4422 2430 4422 Dl
2394 4422 2358 4422 Dl
2322 4422 2286 4422 Dl
2250 4422 2214 4422 Dl
2178 4422 2142 4422 Dl
2106 4422 2070 4422 Dl
2070 4422 2070 4458 Dl
2070 4476 2070 4512 Dl
2070 4530 2070 4566 Dl
7 /LucidaSansUnicode00 f
(n) 2499 4508 w
2142 4314 2592 4170 Dl
2592 4170 2754 4494 Dl
2754 4494 2142 4314 Dl
2034 4602 2034 3954 Dl
2034 3954 3006 3954 Dl
3006 3954 3006 4602 Dl
3006 4602 2034 4602 Dl
(Framebuf) 1675 4004 w
3330 3522 432 432 De
(rasterizer) 3350 3536 w
(1) 3698 3536 w
3330 4026 432 432 De
(rasterizer) 3350 4040 w
(2) 3698 4040 w
3330 4530 432 432 De
7 /LucidaSansUnicode20 f
(&) 3511 4544 w
3330 5034 432 432 De
7 /LucidaSansUnicode00 f
(rasterizer) 3351 5048 w
(n) 3699 5048 w
2970 4206 3330 4026 Dl
3273 4074 3329 4026 Dl
3270 4070 3329 4026 Dl
3268 4067 3329 4026 Dl
3265 4063 3329 4026 Dl
3263 4059 3329 4026 Dl
3261 4054 3329 4026 Dl
3260 4050 3329 4026 Dl
3258 4046 3329 4026 Dl
3257 4041 3329 4026 Dl
2970 4350 3330 4530 Dl
3257 4514 3329 4529 Dl
3258 4509 3329 4529 Dl
3260 4505 3329 4529 Dl
3261 4501 3329 4529 Dl
3263 4496 3329 4529 Dl
3265 4492 3329 4529 Dl
3268 4488 3329 4529 Dl
3270 4485 3329 4529 Dl
3273 4481 3329 4529 Dl
2970 4494 3330 5034 Dl
3275 4984 3329 5033 Dl
3278 4980 3329 5033 Dl
3281 4977 3329 5033 Dl
3285 4974 3329 5033 Dl
3288 4972 3329 5033 Dl
3292 4969 3329 5033 Dl
3296 4967 3329 5033 Dl
3300 4965 3329 5033 Dl
3304 4964 3329 5033 Dl
10 /LucidaSans-Demi f
(Figure 4) 2073 5448 w
10 /LucidaSansUnicode00 f
(: Raster task scheduling.) 2495 5448 w
10 /LucidaSans-Demi f
(4.) 720 5688 w
(Frames of reference) 873 5688 w
10 /LucidaSansUnicode00 f
(Frames are right-handed throughout every stage.) 970 5844 w
gsave
newpath
3586 6510 m
/inpath true def
 0.7 setgray
2790 6726 14 14 De
 gsave eofill grestore 0 setgray stroke
grestore
/inpath false def
7 /LucidaSansUnicode00 f
(p) 2703 6740 w
2797 6726 3514 6788 Dl
3441 6800 3514 6789 Dl
3441 6795 3515 6788 Dl
3440 6791 3514 6789 Dl
3440 6786 3514 6788 Dl
3441 6782 3515 6788 Dl
3441 6777 3514 6787 Dl
3441 6773 3513 6788 Dl
3443 6769 3514 6789 Dl
3444 6764 3513 6788 Dl
(bx) 3543 6802 w
2797 6726 2797 6006 Dl
2815 6078 2797 6006 Dl
2811 6078 2798 6006 Dl
2806 6079 2797 6006 Dl
2801 6080 2797 6006 Dl
2797 6080 2797 6006 Dl
2793 6080 2797 6006 Dl
2788 6079 2797 6006 Dl
2783 6078 2796 6006 Dl
2779 6078 2797 6006 Dl
(by) 2685 6020 w
2797 6726 2246 7014 Dl
2301 6965 2246 7013 Dl
2304 6967 2246 7013 Dl
2307 6971 2246 7013 Dl
2309 6975 2246 7013 Dl
2311 6979 2246 7013 Dl
2313 6983 2246 7013 Dl
2315 6988 2246 7013 Dl
2317 6992 2246 7013 Dl
2318 6996 2246 7013 Dl
(bz) 2132 7028 w
10 /LucidaSans-Demi f
(Figure 5) 1897 7212 w
10 /LucidaSansUnicode00 f
(: Example right-handed rframe.) 2319 7212 w
(July 23, 2024) 2556 7680 w
cleartomark
showpage
saveobj restore
%%EndPage: 3 3
%%Page: 4 4
/saveobj save def
mark
4 pagesetup
10 /LucidaSansUnicode00 f
(\255 4 \255) 2783 480 w
10 /LucidaSans-Demi f
(5.) 720 840 w
(Viewports) 873 840 w
10 /LucidaSansUnicode00 f
(A) 970 996 w
10 /LucidaSans-Italic f
(viewport) 1084 996 w
10 /LucidaSansUnicode00 f
(is) 1547 996 w
(a) 1673 996 w
(sort) 1774 996 w
(of) 2010 996 w
(virtual) 2154 996 w
(framebuffer,) 2505 996 w
(a) 3161 996 w
(device) 3262 996 w
(that) 3615 996 w
(lets) 3852 996 w
(users) 4071 996 w
(configure) 4378 996 w
(the) 4885 996 w
(way) 720 1116 w
(they) 940 1116 w
(visualize) 1183 1116 w
(a) 1639 1116 w
(framebuffer,) 1730 1116 w
(which) 2375 1116 w
(changes) 2691 1116 w
(the) 3125 1116 w
(resulting) 3315 1116 w
10 /LucidaSans-Italic f
(image) 3779 1116 w
10 /LucidaSansUnicode00 f
(\(6\)) 4076 1116 w
(after) 4240 1116 w
(a) 4501 1116 w
(call) 4591 1116 w
(to) 4790 1116 w
(its) 4923 1116 w
10 /LucidaTypewriter f
(draw) 720 1236 w
10 /LucidaSansUnicode00 f
(or) 1046 1236 w
10 /LucidaTypewriter f
(memdraw) 1187 1236 w
10 /LucidaSansUnicode00 f
(methods.) 1730 1236 w
(As) 2256 1236 w
(of) 2415 1236 w
(now,) 2552 1236 w
(the) 2823 1236 w
(only) 3017 1236 w
(feature) 3260 1236 w
(available) 3643 1236 w
(is) 4105 1236 w
(upscaling,) 4224 1236 w
(which) 4759 1236 w
(includes) 720 1356 w
(user-defined) 1174 1356 w
(filters) 1859 1356 w
(for) 2190 1356 w
(specific) 2380 1356 w
(ratios,) 2798 1356 w
(such) 3155 1356 w
(as) 3432 1356 w
(the) 3589 1356 w
(family) 3795 1356 w
(of) 4141 1356 w
(pixel) 4289 1356 w
(art) 4577 1356 w
(filters) 4760 1356 w
10 /LucidaSans-Italic f
(Scale[234]x) 720 1476 w
10 /LucidaSansUnicode00 f
(, used for 2x2, 3x3 and 4x4 scaling respectively) 1277 1476 w
10 /LucidaSans-Italic f
([?]) 3621 1476 w
10 /LucidaSansUnicode00 f
(.) 3733 1476 w
1836 3150 1836 1710 Dl
1836 1710 3996 1710 Dl
3996 1710 3996 3150 Dl
3996 3150 1836 3150 Dl
7 /LucidaSansUnicode00 f
(Framebuf) 2755 3020 w
gsave
newpath
2916 3006 m
/inpath true def
 0.7 setgray
1828 1710 14 14 De
 gsave eofill grestore 0 setgray stroke
grestore
/inpath false def
(p) 1742 1724 w
1836 1710 2556 1710 Dl
2484 1728 2556 1710 Dl
2483 1723 2555 1710 Dl
2482 1719 2555 1710 Dl
2481 1714 2555 1710 Dl
2481 1710 2555 1710 Dl
2481 1705 2555 1709 Dl
2482 1700 2555 1709 Dl
2483 1696 2555 1709 Dl
2484 1692 2556 1710 Dl
(bx) 2513 1652 w
1836 1710 1836 2430 Dl
1818 2358 1836 2430 Dl
1822 2357 1835 2429 Dl
1826 2356 1835 2429 Dl
1831 2355 1835 2429 Dl
1836 2355 1836 2429 Dl
1840 2355 1836 2429 Dl
1845 2356 1836 2429 Dl
1849 2357 1836 2429 Dl
1854 2358 1836 2430 Dl
(by) 1724 2444 w
10 /LucidaSans-Demi f
(Figure 6) 1932 3348 w
10 /LucidaSansUnicode00 f
(: Illustration of a 3:2 viewport.) 2354 3348 w
10 /LucidaSans-Demi f
(References) 720 3588 w
10 /LucidaSansUnicode00 f
([?]) 720 3780 w
(https://www.scale2x.it/) 970 3780 w
(July 23, 2024) 2556 7680 w
cleartomark
showpage
saveobj restore
%%EndPage: 4 4
%%Trailer
done
%%DocumentFonts: LucidaSansUnicode20 LucidaSansUnicode00 LucidaSans-Demi LucidaSans-Italic LucidaTypewriter
%%Pages: 4