home *** CD-ROM | disk | FTP | other *** search
Unknown | 1993-06-20 | 9.4 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was not able to be converted.
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
66%
| dexvert
| Wanton Packer Module (music/wantonPacker)
| ext
| Supported |
100%
| file
| data
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 00 00 00 00 00 00 | 04 00 24 bb 04 00 25 17 |........|..$...%.|
|00000010| 04 00 25 25 04 00 02 0c | 04 00 25 27 00 04 ae 74 |..%%....|..%'...t|
|00000020| 00 04 ac 80 00 04 ac fc | 00 04 ac d0 00 04 ad bc |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 04 00 00 00 00 00 00 |........|........|
|00000040| 09 00 00 00 00 00 00 ff | ff 00 00 00 02 00 00 00 |........|........|
|00000050| 00 43 02 9b 02 64 00 00 | 00 00 00 55 00 00 00 00 |.C...d..|...U....|
|00000060| 00 00 00 00 00 55 00 00 | 00 00 ff 00 00 00 00 00 |.....U..|........|
|00000070| 00 00 00 00 00 00 01 01 | 02 64 00 00 00 48 00 48 |........|.d...H.H|
|00000080| 00 01 00 04 03 18 02 64 | 00 00 00 00 03 18 02 64 |.......d|.......d|
|00000090| 00 64 00 04 00 00 04 00 | 02 8e 00 08 00 59 00 48 |.d......|.....Y.H|
|000000a0| 00 0e 04 00 02 8e 00 08 | 00 59 00 48 00 0e 00 8f |........|.Y.H....|
|000000b0| 00 00 00 00 00 00 00 00 | 00 ff 00 00 00 00 00 00 |........|........|
|000000c0| 25 a1 00 00 25 a1 00 00 | 25 a1 00 00 80 65 00 00 |%...%...|%....e..|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000100| 00 00 00 00 04 00 24 bb | 04 00 25 17 04 00 25 25 |......$.|..%...%%|
|00000110| 04 00 02 0c 04 00 25 27 | 00 04 ae 74 00 04 ac 80 |......%'|...t....|
|00000120| 00 04 ac fc 00 04 ac d0 | 00 04 ad bc 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 04 00 00 | 00 00 00 00 09 00 00 00 |........|........|
|00000140| 00 00 00 ff ff 00 00 00 | 02 00 00 00 00 43 02 9b |........|.....C..|
|00000150| 02 64 00 00 00 00 00 55 | 00 00 00 00 00 00 00 00 |.d.....U|........|
|00000160| 00 55 00 00 00 00 ff 00 | 00 00 00 00 00 00 00 00 |.U......|........|
|00000170| 00 00 01 01 02 64 00 00 | 00 48 00 48 00 01 00 04 |.....d..|.H.H....|
|00000180| 03 18 02 64 00 00 00 00 | 03 18 02 64 00 64 00 04 |...d....|...d.d..|
|00000190| 00 00 04 00 02 8e 00 08 | 00 59 00 48 00 0e 04 00 |........|.Y.H....|
|000001a0| 02 8e 00 08 00 59 00 48 | 00 0e 00 8f 00 00 00 00 |.....Y.H|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 25 a1 00 00 |........|....%...|
|000001c0| 25 a1 00 00 25 a1 00 00 | 80 65 00 00 00 00 00 00 |%...%...|.e......|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 04 0d 0d 0d 0d 00 04 | 0d 0d 0d 0d 00 06 00 08 |........|........|
|00000210| 00 00 00 00 00 78 00 03 | 00 00 00 48 00 48 00 00 |.....x..|...H.H..|
|00000220| 00 00 02 da 02 2f 00 00 | 00 00 03 18 02 64 01 5b |...../..|.....d.[|
|00000230| 05 28 03 fc 00 02 00 00 | 00 48 00 48 00 00 00 00 |.(......|.H.H....|
|00000240| 03 18 02 64 00 01 00 00 | 00 64 00 00 00 01 00 01 |...d....|.d......|
|00000250| 01 01 00 00 00 01 27 0f | 00 01 00 01 00 00 00 00 |......'.|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 02 00 19 01 90 00 00 |........|........|
|00000270| 00 00 00 40 00 00 00 00 | 00 00 00 00 00 00 00 00 |...@....|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 02 3a |........|.......:|
|00000290| fc 00 48 02 40 00 48 00 | 0e 01 68 01 b0 02 1c 02 |..H.@.H.|..h.....|
|000002a0| 8c 02 f0 08 03 60 03 cc | 04 38 04 ac 05 30 05 a0 |.....`..|.8...0..|
|000002b0| f7 ff 00 15 0c 00 f7 50 | 6f 73 74 53 63 72 69 70 |.......P|ostScrip|
|000002c0| 74 20 54 75 74 6f 72 69 | 61 6c 09 09 09 09 09 20 |t Tutori|al..... |
|000002d0| 20 20 09 09 09 09 09 09 | 09 09 09 09 09 09 20 09 | ......|...... .|
|000002e0| 09 09 09 20 20 09 09 4d | 69 63 68 61 65 6c 20 44 |... ..M|ichael D|
|000002f0| 2e 20 4c 6f 72 65 0d 09 | 09 09 09 09 55 6e 69 76 |. Lore..|....Univ|
|00000300| 65 72 73 69 74 79 20 6f | 66 20 48 6f 75 73 74 6f |ersity o|f Housto|
|00000310| 6e 0d 09 09 09 09 09 44 | 65 70 61 72 74 6d 65 6e |n......D|epartmen|
|00000320| 74 20 6f 66 20 45 6c 65 | 63 74 72 69 63 61 6c 20 |t of Ele|ctrical |
|00000330| 45 6e 67 69 6e 65 65 72 | 69 6e 67 0d 0d 49 2e 20 |Engineer|ing..I. |
|00000340| 49 6e 74 72 6f 64 75 63 | 74 69 6f 6e 0d 0d 09 41 |Introduc|tion...A|
|00000350| 2e 20 50 6f 73 74 53 63 | 72 69 70 74 3a 20 41 20 |. PostSc|ript: A |
|00000360| 50 61 67 65 20 44 65 73 | 63 72 69 70 74 69 6f 6e |Page Des|cription|
|00000370| 20 4c 61 6e 67 61 75 67 | 65 0d 09 09 0d 09 09 31 | Langaug|e......1|
|00000380| 2e 20 43 61 6e 20 77 72 | 69 74 65 20 61 20 76 61 |. Can wr|ite a va|
|00000390| 72 69 65 74 79 20 6f 66 | 20 74 65 78 74 20 69 6e |riety of| text in|
|000003a0| 20 6d 61 6e 79 20 64 69 | 66 66 65 72 65 6e 74 20 | many di|fferent |
|000003b0| 74 79 70 65 73 74 79 6c | 65 73 2e 20 20 43 61 6e |typestyl|es. Can|
|000003c0| 20 64 72 61 77 20 67 65 | 6f 6d 65 74 72 69 63 20 | draw ge|ometric |
|000003d0| 66 69 67 75 72 65 73 2c | 0d 09 09 61 6e 64 20 64 |figures,|...and d|
|000003e0| 72 61 77 20 64 69 67 69 | 74 69 7a 65 64 20 69 6d |raw digi|tized im|
|000003f0| 61 67 65 73 2e 20 20 50 | 72 6f 76 69 64 65 73 20 |ages. P|rovides |
|00000400| 73 75 70 70 6f 72 74 20 | 66 6f 72 20 63 6f 6c 6f |support |for colo|
|00000410| 72 20 74 6f 6f 2e 0d 09 | 09 0d 09 09 32 2e 20 54 |r too...|....2. T|
|00000420| 68 65 20 69 6d 61 67 69 | 6e 67 20 6d 6f 64 65 6c |he imagi|ng model|
|00000430| 20 61 6c 6c 6f 77 73 20 | 6f 6e 65 20 74 6f 20 62 | allows |one to b|
|00000440| 75 69 6c 64 20 75 70 20 | 77 68 65 72 65 20 74 68 |uild up |where th|
|00000450| 65 20 69 6e 6b 20 67 6f | 65 73 20 6f 6e 20 61 20 |e ink go|es on a |
|00000460| 70 61 67 65 2c 20 61 6e | 64 20 74 68 65 6e 0d 09 |page, an|d then..|
|00000470| 09 64 69 73 70 6c 61 79 | 20 74 68 65 20 70 61 67 |.display| the pag|
|00000480| 65 2e 20 20 50 6f 73 74 | 53 63 72 69 70 74 20 68 |e. Post|Script h|
|00000490| 61 73 20 61 20 63 75 72 | 72 65 6e 74 20 70 61 67 |as a cur|rent pag|
|000004a0| 65 2c 20 61 20 63 75 72 | 72 65 6e 74 20 70 61 74 |e, a cur|rent pat|
|000004b0| 68 2c 20 61 6e 64 20 61 | 20 63 75 72 72 65 6e 74 |h, and a| current|
|000004c0| 20 63 6c 69 70 70 69 6e | 67 0d 02 27 09 09 70 61 | clippin|g..'..pa|
|000004d0| 74 68 2e 20 20 4f 70 65 | 72 61 74 6f 72 73 20 65 |th. Ope|rators e|
|000004e0| 78 69 73 74 73 20 66 6f | 72 20 64 65 66 69 6e 69 |xists fo|r defini|
|000004f0| 6e 67 20 74 68 65 20 63 | 75 72 72 65 6e 74 20 70 |ng the c|urrent p|
|00000500| 61 74 68 20 61 6e 64 20 | 63 75 72 72 65 6e 74 20 |ath and |current |
|00000510| 63 6c 69 70 70 69 6e 67 | 20 70 61 74 68 2e 20 20 |clipping| path. |
|00000520| 4f 74 68 65 72 0d 09 09 | 6f 70 65 72 61 74 6f 72 |Other...|operator|
|00000530| 73 20 61 6c 6c 6f 77 20 | 79 6f 75 20 74 6f 20 73 |s allow |you to s|
|00000540| 74 72 6f 6b 65 20 6f 72 | 20 66 69 6c 6c 20 74 68 |troke or| fill th|
|00000550| 65 20 70 61 74 68 2e 0d | 09 09 0d 09 09 33 2e 20 |e path..|.....3. |
|00000560| 50 6f 73 74 53 63 72 69 | 70 74 20 75 73 65 73 20 |PostScri|pt uses |
|00000570| 61 20 73 74 61 6e 64 61 | 72 64 20 6d 61 74 68 65 |a standa|rd mathe|
|00000580| 6d 61 74 69 63 61 6c 20 | 63 6f 6f 72 64 69 6e 61 |matical |coordina|
|00000590| 74 65 20 73 79 73 74 65 | 6d 2c 20 61 6e 64 20 61 |te syste|m, and a|
|000005a0| 6c 6c 6f 77 73 20 63 6f | 6f 72 64 69 6e 61 74 65 |llows co|ordinate|
|000005b0| 0d 09 09 73 79 73 74 65 | 6d 20 6f 70 65 72 61 74 |...syste|m operat|
|000005c0| 69 6f 6e 73 20 6c 69 6b | 65 20 72 6f 74 61 74 69 |ions lik|e rotati|
|000005d0| 6f 6e 20 61 6e 64 20 74 | 72 61 6e 73 6c 61 74 69 |on and t|ranslati|
|000005e0| 6f 6e 2e 0d 09 09 0d 09 | 42 2e 20 50 6f 73 74 53 |on......|B. PostS|
|000005f0| 63 72 69 70 74 3a 20 41 | 20 50 72 6f 67 72 61 6d |cript: A| Program|
|00000600| 6d 69 6e 67 20 4c 61 6e | 67 75 61 67 65 0d 09 0d |ming Lan|guage...|
|00000610| 09 09 31 2e 20 54 68 65 | 20 70 6f 72 74 69 6f 6e |..1. The| portion|
|00000620| 73 20 6f 66 20 50 6f 73 | 74 53 63 72 69 70 74 20 |s of Pos|tScript |
|00000630| 6e 6f 74 20 64 65 76 6f | 74 65 64 20 74 6f 20 67 |not devo|ted to g|
|00000640| 72 61 70 68 69 63 73 20 | 6d 61 6b 65 20 75 70 20 |raphics |make up |
|00000650| 61 20 67 65 6e 65 72 61 | 6c 20 70 72 6f 67 72 61 |a genera|l progra|
|00000660| 6d 6d 69 6e 67 0d 09 09 | 6c 61 6e 67 75 61 67 65 |mming...|language|
|00000670| 20 62 61 73 65 64 20 6f | 6e 20 70 6f 73 74 66 69 | based o|n postfi|
|00000680| 78 20 6e 6f 74 61 74 69 | 6f 6e 20 61 6e 64 20 61 |x notati|on and a|
|00000690| 20 73 74 61 63 6b 2e 0d | 09 09 0d 09 09 32 2e 20 | stack..|.....2. |
|000006a0| 54 68 65 20 50 6f 73 74 | 53 63 72 69 70 74 20 73 |The Post|Script s|
|000006b0| 74 61 63 6b 20 69 73 20 | 77 68 65 72 65 20 6d 6f |tack is |where mo|
|000006c0| 73 74 20 64 61 74 61 20 | 61 6e 64 20 70 72 6f 67 |st data |and prog|
|000006d0| 72 61 6d 20 63 6f 64 65 | 20 72 65 73 69 64 65 2e |ram code| reside.|
|000006e0| 20 20 50 6f 73 74 66 69 | 78 20 6e 6f 74 61 74 69 | Postfi|x notati|
|000006f0| 6f 6e 0d 03 f8 09 09 69 | 73 20 75 73 65 64 20 62 |on.....i|s used b|
|00000700| 65 63 61 75 73 65 20 69 | 74 20 6d 6f 73 74 20 63 |ecause i|t most c|
|00000710| 6c 6f 73 65 6c 79 20 70 | 61 72 61 6c 6c 65 6c 73 |losely p|arallels|
|00000720| 20 74 68 65 20 6f 70 65 | 72 61 74 69 6f 6e 20 6f | the ope|ration o|
|00000730| 66 20 61 20 73 74 61 63 | 6b 2e 0d 09 09 0d 09 09 |f a stac|k.......|
|00000740| 33 2e 20 50 6f 73 74 53 | 63 72 69 70 74 20 73 75 |3. PostS|cript su|
|00000750| 70 70 6f 72 74 73 20 73 | 65 76 65 72 61 6c 20 64 |pports s|everal d|
|00000760| 61 74 61 20 74 79 70 65 | 73 2c 20 6c 69 6b 65 20 |ata type|s, like |
|00000770| 69 6e 74 65 67 65 72 73 | 2c 20 72 65 61 6c 73 2c |integers|, reals,|
|00000780| 20 61 6e 64 20 64 69 63 | 74 69 6f 6e 61 72 69 65 | and dic|tionarie|
|00000790| 73 2e 0d 09 09 0d 49 49 | 2e 20 55 73 69 6e 67 20 |s.....II|. Using |
|000007a0| 74 68 65 20 50 6f 73 74 | 53 63 72 69 70 74 20 4c |the Post|Script L|
|000007b0| 61 6e 67 61 75 67 65 0d | 0d 09 41 2e 20 54 68 65 |angauge.|..A. The|
|000007c0| 20 53 74 61 63 6b 0d 09 | 0d 09 09 31 2e 20 41 20 | Stack..|...1. A |
|000007d0| 73 74 61 63 6b 20 69 73 | 20 61 20 74 79 70 65 20 |stack is| a type |
|000007e0| 6f 66 20 6c 61 73 74 2d | 69 6e 2c 20 66 69 72 73 |of last-|in, firs|
|000007f0| 74 2d 6f 75 74 20 6c 69 | 73 74 2e 20 20 41 20 67 |t-out li|st. A g|
|00000800| 6f 6f 64 20 65 78 61 6d | 70 6c 65 20 69 73 20 61 |ood exam|ple is a|
|00000810| 6e 20 61 75 74 6f 20 63 | 68 61 6e 67 65 20 64 69 |n auto c|hange di|
|00000820| 73 70 65 6e 73 65 72 2c | 0d 09 09 69 6e 20 77 68 |spenser,|...in wh|
|00000830| 69 63 68 20 63 6f 69 6e | 73 20 6d 61 79 20 62 65 |ich coin|s may be|
|00000840| 20 69 6e 73 65 72 74 65 | 64 20 61 6e 64 20 72 65 | inserte|d and re|
|00000850| 6d 6f 76 65 64 20 66 72 | 6f 6d 20 74 68 65 20 74 |moved fr|om the t|
|00000860| 6f 70 2e 20 20 54 68 65 | 20 6c 61 73 74 20 63 6f |op. The| last co|
|00000870| 69 6e 20 70 6c 61 63 65 | 64 20 69 6e 20 69 73 0d |in place|d in is.|
|00000880| 09 09 61 6c 77 61 79 73 | 20 74 68 65 20 66 69 72 |..always| the fir|
|00000890| 73 74 20 63 6f 69 6e 20 | 72 65 6d 6f 76 65 64 2e |st coin |removed.|
|000008a0| 0d 09 09 50 75 74 74 69 | 6e 67 20 61 6e 20 69 74 |...Putti|ng an it|
|000008b0| 65 6d 20 6f 6e 20 74 6f | 70 20 6f 66 20 74 68 65 |em on to|p of the|
|000008c0| 20 73 74 61 63 6b 20 69 | 73 20 63 61 6c 6c 65 64 | stack i|s called|
|000008d0| 20 22 70 75 73 68 69 6e | 67 20 69 74 20 6f 6e 74 | "pushin|g it ont|
|000008e0| 6f 20 74 68 65 20 73 74 | 61 63 6b 2e 22 0d 09 09 |o the st|ack."...|
|000008f0| 52 65 6d 6f 76 69 6e 67 | 20 61 6e 20 69 74 65 6d |Removing| an item|
|00000900| 20 66 72 6f 6d 20 74 68 | 65 20 74 6f 70 20 6f 66 | from th|e top of|
|00000910| 20 74 68 65 20 73 74 61 | 63 6b 20 69 73 20 63 61 | the sta|ck is ca|
|00000920| 6c 6c 65 64 20 22 70 6f | 70 70 69 6e 67 20 69 74 |lled "po|pping it|
|00000930| 20 6f 66 66 20 6f 66 20 | 74 68 65 20 73 74 61 63 | off of |the stac|
|00000940| 6b 2e 22 0d 09 09 0d 09 | 09 32 2e 20 49 6e 20 50 |k.".....|.2. In P|
|00000950| 6f 73 74 53 63 72 69 70 | 74 2c 20 61 6e 20 69 6e |ostScrip|t, an in|
|00000960| 2d 6c 69 6e 65 20 69 74 | 65 6d 20 69 73 20 70 75 |-line it|em is pu|
|00000970| 73 68 65 64 20 6f 6e 74 | 6f 20 74 68 65 20 73 74 |shed ont|o the st|
|00000980| 61 63 6b 20 62 79 20 77 | 72 69 74 69 6e 67 20 69 |ack by w|riting i|
|00000990| 74 3a 0d 09 09 0d 09 09 | 09 32 33 20 34 34 20 35 |t:......|.23 44 5|
|000009a0| 35 2e 35 0d 09 09 09 0d | 09 09 50 6c 61 63 65 73 |5.5.....|..Places|
|000009b0| 20 32 33 2c 20 74 68 65 | 6e 20 34 34 2c 20 61 6e | 23, the|n 44, an|
|000009c0| 64 20 74 68 65 6e 20 35 | 35 2e 35 20 6f 6e 74 6f |d then 5|5.5 onto|
|000009d0| 20 74 68 65 20 74 6f 70 | 20 6f 66 20 74 68 65 20 | the top| of the |
|000009e0| 73 74 61 63 6b 2e 20 20 | 57 68 65 6e 20 6f 70 65 |stack. |When ope|
|000009f0| 72 61 74 6f 72 73 20 61 | 72 65 20 0d 09 09 70 6c |rators a|re ...pl|
|00000a00| 61 63 65 64 20 6f 6e 20 | 74 68 65 20 73 74 61 63 |aced on |the stac|
|00000a10| 6b 2c 20 74 68 65 79 20 | 61 72 65 20 69 6d 6d 65 |k, they |are imme|
|00000a20| 64 69 61 74 65 6c 79 20 | 74 68 65 72 65 61 66 74 |diately |thereaft|
|00000a30| 65 72 20 65 78 65 63 75 | 74 65 64 2e 20 20 59 6f |er execu|ted. Yo|
|00000a40| 75 20 6d 69 67 68 74 20 | 74 68 69 6e 6b 20 6f 66 |u might |think of|
|00000a50| 0d 09 09 61 6e 20 65 78 | 65 63 75 74 69 6f 6e 20 |...an ex|ecution |
|00000a60| 66 6f 72 20 65 76 65 72 | 79 20 69 74 65 6d 20 65 |for ever|y item e|
|00000a70| 76 65 72 20 70 6c 61 63 | 65 64 20 6f 6e 20 74 68 |ver plac|ed on th|
|00000a80| 65 20 73 74 61 63 6b 3a | 20 74 68 65 20 6f 70 65 |e stack:| the ope|
|00000a90| 72 61 74 69 6f 6e 20 64 | 65 66 69 6e 65 64 20 66 |ration d|efined f|
|00000aa0| 6f 72 0d 09 09 6e 75 6d | 62 65 72 73 20 69 73 20 |or...num|bers is |
|00000ab0| 74 6f 20 70 6c 61 63 65 | 20 74 68 65 6d 20 6f 6e |to place| them on|
|00000ac0| 20 74 68 65 20 73 74 61 | 63 6b 2e 20 0d 09 09 0d | the sta|ck. ....|
|00000ad0| 09 09 09 32 33 20 20 34 | 34 20 20 61 64 64 20 20 |...23 4|4 add |
|00000ae0| 2d 2d 2d 3e 20 20 36 37 | 0d 09 09 09 0d 02 16 09 |---> 67|........|
|00000af0| 42 2e 20 50 6f 73 74 66 | 69 78 20 4e 6f 74 61 74 |B. Postf|ix Notat|
|00000b00| 69 6f 6e 0d 09 0d 09 09 | 31 2e 20 4e 6f 72 6d 61 |ion.....|1. Norma|
|00000b10| 6c 20 61 72 69 74 68 6d | 65 74 69 63 20 6f 70 65 |l arithm|etic ope|
|00000b20| 72 61 74 6f 72 73 20 66 | 6f 6c 6c 6f 77 20 61 20 |rators f|ollow a |
|00000b30| 6e 6f 74 61 74 69 6f 6e | 20 63 6f 6e 76 65 6e 74 |notation| convent|
|00000b40| 69 6f 6e 20 69 6e 20 77 | 68 69 63 68 20 74 68 65 |ion in w|hich the|
|00000b50| 20 6f 70 65 72 61 74 6f | 72 20 69 73 0d 09 09 70 | operato|r is...p|
|00000b60| 6c 61 63 65 64 20 69 6e | 20 62 65 74 77 65 65 6e |laced in| between|
|00000b70| 20 74 68 65 20 74 77 6f | 20 69 74 65 6d 73 20 62 | the two| items b|
|00000b80| 65 69 6e 67 20 6f 70 65 | 72 61 74 65 64 20 6f 6e |eing ope|rated on|
|00000b90| 3a 0d 09 09 0d 09 09 09 | 33 20 2b 20 34 0d 09 09 |:.......|3 + 4...|
|00000ba0| 09 0d 09 09 57 69 74 68 | 20 50 6f 73 74 66 69 78 |....With| Postfix|
|00000bb0| 20 6e 6f 74 61 74 69 6f | 6e 2c 20 74 68 65 20 6f | notatio|n, the o|
|00000bc0| 70 65 72 61 74 6f 72 20 | 69 73 20 70 6c 61 63 65 |perator |is place|
|00000bd0| 64 20 61 66 74 65 72 20 | 74 68 65 20 74 77 6f 20 |d after |the two |
|00000be0| 61 72 67 75 6d 65 6e 74 | 73 3a 0d 09 09 0d 09 09 |argument|s:......|
|00000bf0| 09 33 20 20 34 20 20 2b | 0d 09 09 09 0d 09 09 32 |.3 4 +|.......2|
|00000c00| 2e 20 4e 6f 72 6d 61 6c | 20 61 72 69 74 68 6d 65 |. Normal| arithme|
|00000c10| 74 69 63 20 73 75 66 66 | 65 72 73 20 66 72 6f 6d |tic suff|ers from|
|00000c20| 20 61 6e 20 69 6c 6c 2d | 64 65 66 69 6e 65 64 20 | an ill-|defined |
|00000c30| 77 61 79 20 74 6f 20 64 | 65 74 65 72 6d 69 6e 65 |way to d|etermine|
|00000c40| 20 70 72 65 63 65 64 65 | 6e 63 65 20 62 65 74 77 | precede|nce betw|
|00000c50| 65 65 6e 0d 09 09 6f 70 | 65 72 61 74 69 6f 6e 73 |een...op|erations|
|00000c60| 2e 20 20 34 20 2b 20 35 | 20 2a 20 37 20 6d 75 73 |. 4 + 5| * 7 mus|
|00000c70| 74 20 62 65 20 65 76 61 | 6c 75 61 74 65 64 20 63 |t be eva|luated c|
|00000c80| 61 72 65 66 75 6c 6c 79 | 20 62 65 63 61 75 73 65 |arefully| because|
|00000c90| 20 2a 20 68 61 73 20 70 | 72 69 6f 72 69 74 79 20 | * has p|riority |
|00000ca0| 6f 76 65 72 20 2b 2e 0d | 09 09 0d 09 09 57 69 74 |over +..|.....Wit|
|00000cb0| 68 20 70 6f 73 74 66 69 | 78 20 6e 6f 74 61 74 69 |h postfi|x notati|
|00000cc0| 6f 6e 2c 20 68 6f 77 65 | 76 65 72 2c 20 74 68 65 |on, howe|ver, the|
|00000cd0| 72 65 20 69 73 20 6e 6f | 20 73 75 63 68 20 70 72 |re is no| such pr|
|00000ce0| 6f 62 6c 65 6d 2e 20 20 | 34 20 20 35 20 20 37 20 |oblem. |4 5 7 |
|00000cf0| 20 2a 20 20 2b 20 63 61 | 6e 20 62 65 20 65 61 73 | * + ca|n be eas|
|00000d00| 69 6c 79 20 0d 03 e9 09 | 09 61 6e 64 20 61 6c 6d |ily ....|.and alm|
|00000d10| 6f 73 74 20 63 61 72 65 | 6c 65 73 73 6c 79 20 65 |ost care|lessly e|
|00000d20| 76 61 6c 75 61 74 65 64 | 20 62 65 63 61 75 73 65 |valuated| because|
|00000d30| 20 65 61 63 68 20 6f 70 | 65 72 61 74 6f 72 20 61 | each op|erator a|
|00000d40| 6c 77 61 79 73 20 61 63 | 74 73 20 75 70 6f 6e 20 |lways ac|ts upon |
|00000d50| 74 68 65 20 70 72 65 76 | 69 6f 75 73 20 0d 09 09 |the prev|ious ...|
|00000d60| 74 77 6f 20 61 72 67 75 | 6d 65 6e 74 73 2e 20 20 |two argu|ments. |
|00000d70| 54 68 69 73 20 6d 65 74 | 68 6f 64 20 69 73 20 76 |This met|hod is v|
|00000d80| 65 72 79 20 70 6f 77 65 | 72 66 75 6c 20 66 6f 72 |ery powe|rful for|
|00000d90| 20 61 20 73 74 61 63 6b | 2d 62 61 73 65 64 20 73 | a stack|-based s|
|00000da0| 79 73 74 65 6d 2c 20 62 | 65 63 61 75 73 65 0d 09 |ystem, b|ecause..|
|00000db0| 09 6f 70 65 72 61 74 6f | 72 73 20 61 6e 64 20 61 |.operato|rs and a|
|00000dc0| 72 67 75 6d 65 6e 74 73 | 20 63 61 6e 20 62 65 20 |rguments| can be |
|00000dd0| 69 6d 6d 65 64 69 61 74 | 65 6c 79 20 65 76 61 6c |immediat|ely eval|
|00000de0| 75 61 74 65 64 20 61 73 | 20 74 68 65 79 20 61 72 |uated as| they ar|
|00000df0| 65 20 70 6f 70 70 65 64 | 20 6f 66 66 20 74 68 65 |e popped| off the|
|00000e00| 0d 09 09 73 74 61 63 6b | 2e 0d 09 09 0d 09 43 2e |...stack|......C.|
|00000e10| 20 50 6f 73 74 53 63 72 | 69 70 74 20 45 78 61 6d | PostScr|ipt Exam|
|00000e20| 70 6c 65 73 0d 0d 09 09 | 31 2e 20 41 72 69 74 68 |ples....|1. Arith|
|00000e30| 6d 65 74 69 63 0d 09 09 | 09 35 20 20 33 20 61 64 |metic...|.5 3 ad|
|00000e40| 64 09 09 09 2d 2d 3e 09 | 38 09 09 6c 69 6b 65 20 |d...-->.|8..like |
|00000e50| 35 20 2b 20 33 0d 09 09 | 09 39 39 20 31 20 73 75 |5 + 3...|.99 1 su|
|00000e60| 62 09 09 09 2d 2d 3e 09 | 39 38 09 09 6c 69 6b 65 |b...-->.|98..like|
|00000e70| 20 39 39 20 2d 20 31 0d | 09 09 09 33 20 33 20 33 | 99 - 1.|...3 3 3|
|00000e80| 20 61 64 64 20 6d 75 6c | 09 09 2d 2d 3e 09 31 38 | add mul|..-->.18|
|00000e90| 09 09 6c 69 6b 65 20 28 | 33 20 2b 20 33 29 20 2a |..like (|3 + 3) *|
|00000ea0| 20 33 0d 09 09 0d 09 09 | 32 2e 20 53 74 61 63 6b | 3......|2. Stack|
|00000eb0| 20 6f 70 65 72 61 74 6f | 72 73 0d 09 09 0d 09 09 | operato|rs......|
|00000ec0| 09 33 20 20 34 34 20 20 | 35 35 20 63 6c 65 61 72 |.3 44 |55 clear|
|00000ed0| 09 09 2d 2d 3e 09 0d 09 | 09 09 34 20 64 75 70 09 |..-->...|..4 dup.|
|00000ee0| 09 09 2d 2d 3e 09 34 20 | 34 0d 09 09 09 33 20 20 |..-->.4 |4....3 |
|00000ef0| 35 35 20 20 70 6f 70 09 | 09 09 2d 2d 3e 09 33 0d |55 pop.|..-->.3.|
|00000f00| 09 09 09 33 33 20 20 34 | 34 20 65 78 63 68 09 09 |...33 4|4 exch..|
|00000f10| 2d 2d 3e 09 34 34 20 20 | 33 33 0d 09 09 0d 49 49 |-->.44 |33....II|
|00000f20| 49 2e 20 44 72 61 77 69 | 6e 67 0d 0d 09 41 2e 20 |I. Drawi|ng...A. |
|00000f30| 49 6e 74 72 6f 64 75 63 | 74 69 6f 6e 0d 09 0d 09 |Introduc|tion....|
|00000f40| 09 31 2e 20 44 72 61 77 | 69 6e 67 20 63 6f 6e 73 |.1. Draw|ing cons|
|00000f50| 69 73 74 73 20 6f 66 20 | 74 77 6f 20 73 74 65 70 |ists of |two step|
|00000f60| 73 3a 20 64 65 66 69 6e | 69 6e 67 20 61 20 70 61 |s: defin|ing a pa|
|00000f70| 74 68 20 74 6f 20 66 6f | 6c 6c 6f 77 20 61 6e 64 |th to fo|llow and|
|00000f80| 20 74 68 65 6e 20 73 74 | 72 6f 6b 69 6e 67 20 6f | then st|roking o|
|00000f90| 72 20 66 69 6c 6c 69 6e | 67 20 74 68 61 74 0d 09 |r fillin|g that..|
|00000fa0| 09 70 61 74 68 2e 20 20 | 4d 79 20 65 78 61 6d 70 |.path. |My examp|
|00000fb0| 6c 65 73 20 77 69 6c 6c | 20 62 65 20 6f 66 20 64 |les will| be of d|
|00000fc0| 72 61 77 69 6e 67 20 61 | 20 62 6f 78 2e 20 20 50 |rawing a| box. P|
|00000fd0| 6f 73 74 53 63 72 69 70 | 74 20 66 65 61 74 75 72 |ostScrip|t featur|
|00000fe0| 65 73 20 77 69 6c 6c 20 | 62 65 20 64 65 73 72 69 |es will |be desri|
|00000ff0| 62 65 64 20 61 6c 6f 6e | 67 0d 09 09 74 68 65 20 |bed alon|g...the |
|00001000| 77 61 79 2e 20 20 0d 09 | 09 0d 09 09 32 2e 20 54 |way. ..|....2. T|
|00001010| 68 65 20 59 41 50 20 50 | 6f 73 74 53 63 72 69 70 |he YAP P|ostScrip|
|00001020| 74 20 70 72 65 76 69 65 | 77 65 72 20 69 73 20 75 |t previe|wer is u|
|00001030| 73 65 64 20 66 6f 72 20 | 74 68 65 73 65 20 65 78 |sed for |these ex|
|00001040| 61 6d 70 6c 65 73 2c 20 | 73 6f 20 74 68 61 74 20 |amples, |so that |
|00001050| 77 65 20 63 61 6e 0d 09 | 09 73 65 65 20 77 68 61 |we can..|.see wha|
|00001060| 74 20 69 73 20 67 6f 69 | 6e 67 20 6f 6e 20 61 6c |t is goi|ng on al|
|00001070| 6f 6e 67 20 74 68 65 20 | 77 61 79 2e 0d 09 0d 09 |ong the |way.....|
|00001080| 42 2e 20 41 20 42 6f 78 | 0d 09 09 0d 09 09 31 2e |B. A Box|......1.|
|00001090| 20 44 72 61 77 20 61 20 | 62 6f 78 0d 09 09 6e 65 | Draw a |box...ne|
|000010a0| 77 70 61 74 68 0d 09 09 | 09 32 37 30 20 33 36 30 |wpath...|.270 360|
|000010b0| 20 6d 6f 76 65 74 6f 0d | 09 09 09 30 20 31 34 34 | moveto.|...0 144|
|000010c0| 20 72 6c 69 6e 65 74 6f | 09 09 09 25 20 72 65 6c | rlineto|...% rel|
|000010d0| 61 74 69 76 65 20 6c 69 | 6e 65 20 74 6f 2e 0d 09 |ative li|ne to...|
|000010e0| 09 09 31 34 34 20 30 20 | 72 6c 69 6e 65 74 6f 0d |..144 0 |rlineto.|
|000010f0| 01 f6 09 09 09 30 20 2d | 31 34 34 20 72 6c 69 6e |.....0 -|144 rlin|
|00001100| 65 74 6f 0d 09 09 09 2d | 31 34 34 20 30 20 72 6c |eto....-|144 0 rl|
|00001110| 69 6e 65 74 6f 0d 09 09 | 09 31 32 20 73 65 74 6c |ineto...|.12 setl|
|00001120| 69 6e 65 77 69 64 74 68 | 09 09 09 25 20 73 65 74 |inewidth|...% set|
|00001130| 20 77 69 64 74 68 20 6f | 66 20 64 72 61 77 6e 20 | width o|f drawn |
|00001140| 6c 69 6e 65 0d 09 09 73 | 74 72 6f 6b 65 09 09 09 |line...s|troke...|
|00001150| 09 09 25 20 66 69 6e 61 | 6c 6c 79 20 73 74 72 6f |..% fina|lly stro|
|00001160| 6b 65 20 28 61 73 20 69 | 66 20 77 69 74 68 20 61 |ke (as i|f with a|
|00001170| 20 70 65 6e 29 20 74 68 | 65 20 6f 75 74 6c 69 6e | pen) th|e outlin|
|00001180| 65 0d 09 09 73 68 6f 77 | 70 61 67 65 0d 09 09 0d |e...show|page....|
|00001190| 09 09 32 2e 20 44 72 61 | 77 20 61 20 62 65 74 74 |..2. Dra|w a bett|
|000011a0| 65 72 20 62 6f 78 0d 09 | 09 6e 65 77 70 61 74 68 |er box..|.newpath|
|000011b0| 0d 09 09 09 32 37 30 20 | 33 36 30 20 6d 6f 76 65 |....270 |360 move|
|000011c0| 74 6f 0d 09 09 09 30 20 | 31 34 34 20 72 6c 69 6e |to....0 |144 rlin|
|000011d0| 65 74 6f 0d 09 09 09 31 | 34 34 20 30 20 72 6c 69 |eto....1|44 0 rli|
|000011e0| 6e 65 74 6f 0d 09 09 09 | 30 20 2d 31 34 34 20 72 |neto....|0 -144 r|
|000011f0| 6c 69 6e 65 74 6f 0d 09 | 09 09 63 6c 6f 73 65 70 |lineto..|..closep|
|00001200| 61 74 68 09 09 09 09 25 | 20 63 6c 6f 73 65 70 61 |ath....%| closepa|
|00001210| 74 68 20 63 6c 6f 73 65 | 73 20 61 20 70 61 74 68 |th close|s a path|
|00001220| 20 6e 69 63 65 6c 79 0d | 09 09 09 31 32 20 73 65 | nicely.|...12 se|
|00001230| 74 6c 69 6e 65 77 69 64 | 74 68 0d 09 09 73 74 72 |tlinewid|th...str|
|00001240| 6f 6b 65 0d 09 09 73 68 | 6f 77 70 61 67 65 0d 09 |oke...sh|owpage..|
|00001250| 09 0d 09 09 33 2e 20 46 | 69 6c 6c 20 74 68 65 20 |....3. F|ill the |
|00001260| 62 6f 78 0d 09 09 6e 65 | 77 70 61 74 68 0d 09 09 |box...ne|wpath...|
|00001270| 09 32 37 30 20 33 36 30 | 20 6d 6f 76 65 74 6f 0d |.270 360| moveto.|
|00001280| 09 09 09 30 20 31 34 34 | 20 72 6c 69 6e 65 74 6f |...0 144| rlineto|
|00001290| 0d 09 09 09 31 34 34 20 | 30 20 72 6c 69 6e 65 74 |....144 |0 rlinet|
|000012a0| 6f 0d 09 09 09 30 20 2d | 31 34 34 20 72 6c 69 6e |o....0 -|144 rlin|
|000012b0| 65 74 6f 0d 09 09 09 63 | 6c 6f 73 65 70 61 74 68 |eto....c|losepath|
|000012c0| 0d 09 09 66 69 6c 6c 09 | 09 09 09 09 09 25 20 66 |...fill.|.....% f|
|000012d0| 69 6c 6c 20 74 68 65 20 | 6f 75 74 6c 69 6e 65 20 |ill the |outline |
|000012e0| 69 6e 73 74 65 61 64 0d | 02 0f 09 09 73 68 6f 77 |instead.|....show|
|000012f0| 70 61 67 65 0d 09 09 0d | 09 09 34 2e 20 55 73 65 |page....|..4. Use|
|00001300| 20 61 20 64 69 66 66 65 | 72 65 6e 74 20 63 6f 6c | a diffe|rent col|
|00001310| 6f 72 0d 09 09 6e 65 77 | 70 61 74 68 0d 09 09 09 |or...new|path....|
|00001320| 32 37 30 20 33 36 30 20 | 6d 6f 76 65 74 6f 0d 09 |270 360 |moveto..|
|00001330| 09 09 30 20 31 34 34 20 | 72 6c 69 6e 65 74 6f 0d |..0 144 |rlineto.|
|00001340| 09 09 09 31 34 34 20 30 | 20 72 6c 69 6e 65 74 6f |...144 0| rlineto|
|00001350| 0d 09 09 09 30 20 2d 31 | 34 34 20 72 6c 69 6e 65 |....0 -1|44 rline|
|00001360| 74 6f 0d 09 09 09 63 6c | 6f 73 65 70 61 74 68 0d |to....cl|osepath.|
|00001370| 09 09 30 2e 35 20 73 65 | 74 67 72 61 79 09 09 09 |..0.5 se|tgray...|
|00001380| 09 25 20 75 73 65 20 61 | 20 64 69 66 66 65 72 65 |.% use a| differe|
|00001390| 6e 74 20 67 72 61 79 20 | 6c 65 76 65 6c 0d 09 09 |nt gray |level...|
|000013a0| 66 69 6c 6c 0d 09 09 73 | 68 6f 77 70 61 67 65 0d |fill...s|howpage.|
|000013b0| 09 09 0d 09 09 35 2e 20 | 20 44 72 61 77 20 33 20 |.....5. | Draw 3 |
|000013c0| 6f 76 65 72 6c 61 70 70 | 69 6e 67 20 62 6f 78 65 |overlapp|ing boxe|
|000013d0| 73 0d 09 09 6e 65 77 70 | 61 74 68 09 09 09 09 09 |s...newp|ath.....|
|000013e0| 25 20 62 6c 61 63 6b 20 | 62 6f 78 0d 09 09 09 32 |% black |box....2|
|000013f0| 35 32 20 33 32 34 20 6d | 6f 76 65 74 6f 0d 09 09 |52 324 m|oveto...|
|00001400| 09 30 20 31 34 34 20 72 | 6c 69 6e 65 74 6f 0d 09 |.0 144 r|lineto..|
|00001410| 09 09 31 34 34 20 30 20 | 72 6c 69 6e 65 74 6f 0d |..144 0 |rlineto.|
|00001420| 09 09 09 30 20 2d 31 34 | 34 20 72 6c 69 6e 65 74 |...0 -14|4 rlinet|
|00001430| 6f 0d 09 09 09 63 6c 6f | 73 65 70 61 74 68 0d 09 |o....clo|sepath..|
|00001440| 09 30 20 73 65 74 67 72 | 61 79 0d 09 09 66 69 6c |.0 setgr|ay...fil|
|00001450| 6c 0d 0d 09 09 6e 65 77 | 70 61 74 68 09 09 09 09 |l....new|path....|
|00001460| 09 25 20 64 61 72 6b 20 | 67 72 61 79 20 62 6f 78 |.% dark |gray box|
|00001470| 0d 09 09 09 32 37 30 20 | 33 36 30 20 6d 6f 76 65 |....270 |360 move|
|00001480| 74 6f 0d 09 09 09 30 20 | 31 34 34 20 72 6c 69 6e |to....0 |144 rlin|
|00001490| 65 74 6f 0d 09 09 09 31 | 34 34 20 30 20 72 6c 69 |eto....1|44 0 rli|
|000014a0| 6e 65 74 6f 0d 09 09 09 | 30 20 2d 31 34 34 20 72 |neto....|0 -144 r|
|000014b0| 6c 69 6e 65 74 6f 0d 09 | 09 09 63 6c 6f 73 65 70 |lineto..|..closep|
|000014c0| 61 74 68 0d 09 09 30 2e | 34 20 73 65 74 67 72 61 |ath...0.|4 setgra|
|000014d0| 79 0d 09 09 66 69 6c 6c | 0d 0d 09 09 6e 65 77 70 |y...fill|....newp|
|000014e0| 61 74 68 09 09 09 09 09 | 25 20 6c 69 67 68 74 20 |ath.....|% light |
|000014f0| 67 72 61 79 20 62 6f 78 | 0d 01 fd 09 09 09 32 38 |gray box|......28|
|00001500| 38 20 33 39 36 20 6d 6f | 76 65 74 6f 0d 09 09 09 |8 396 mo|veto....|
|00001510| 30 20 31 34 34 20 72 6c | 69 6e 65 74 6f 0d 09 09 |0 144 rl|ineto...|
|00001520| 09 31 34 34 20 30 20 72 | 6c 69 6e 65 74 6f 0d 09 |.144 0 r|lineto..|
|00001530| 09 09 30 20 2d 31 34 34 | 20 72 6c 69 6e 65 74 6f |..0 -144| rlineto|
|00001540| 0d 09 09 09 63 6c 6f 73 | 65 70 61 74 68 0d 09 09 |....clos|epath...|
|00001550| 30 2e 38 20 73 65 74 67 | 72 61 79 0d 09 09 66 69 |0.8 setg|ray...fi|
|00001560| 6c 6c 0d 0d 09 09 73 68 | 6f 77 70 61 67 65 0d 09 |ll....sh|owpage..|
|00001570| 09 0d 09 09 36 2e 20 57 | 68 79 20 77 72 69 74 65 |....6. W|hy write|
|00001580| 20 74 68 65 20 63 6f 64 | 65 20 33 20 74 69 6d 65 | the cod|e 3 time|
|00001590| 73 20 61 73 20 61 62 6f | 76 65 3f 20 57 65 20 63 |s as abo|ve? We c|
|000015a0| 61 6e 20 64 65 66 69 6e | 65 20 70 72 6f 63 65 64 |an defin|e proced|
|000015b0| 75 72 65 73 2e 0d 09 09 | 0d 09 09 2f 58 20 32 37 |ures....|.../X 27|
|000015c0| 30 20 64 65 66 09 09 25 | 20 76 61 72 69 61 62 6c |0 def..%| variabl|
|000015d0| 65 20 73 74 6f 72 65 73 | 20 78 20 6c 6f 63 61 74 |e stores| x locat|
|000015e0| 69 6f 6e 0d 09 09 2f 59 | 20 33 36 30 20 64 65 66 |ion.../Y| 360 def|
|000015f0| 09 09 25 20 76 61 72 69 | 61 62 6c 65 20 73 74 6f |..% vari|able sto|
|00001600| 72 65 73 20 79 20 6c 6f | 63 61 74 69 6f 6e 0d 09 |res y lo|cation..|
|00001610| 09 0d 09 09 25 20 2d 2d | 2d 20 70 72 6f 63 65 64 |....% --|- proced|
|00001620| 75 72 65 20 74 6f 20 64 | 72 61 77 20 61 20 62 6f |ure to d|raw a bo|
|00001630| 78 2e 20 20 53 74 61 63 | 6b 3a 20 2d 20 20 2d 2d |x. Stac|k: - --|
|00001640| 3e 20 20 2d 0d 09 09 2f | 62 6f 78 20 7b 0d 09 09 |> -.../|box {...|
|00001650| 09 20 31 34 34 20 30 20 | 72 6c 69 6e 65 74 6f 0d |. 144 0 |rlineto.|
|00001660| 09 09 09 20 30 20 31 34 | 34 20 72 6c 69 6e 65 74 |... 0 14|4 rlinet|
|00001670| 6f 0d 09 09 09 20 2d 31 | 34 34 20 30 20 72 6c 69 |o.... -1|44 0 rli|
|00001680| 6e 65 74 6f 0d 09 09 09 | 20 63 6c 6f 73 65 70 61 |neto....| closepa|
|00001690| 74 68 0d 09 09 7d 20 64 | 65 66 0d 09 09 0d 09 09 |th...} d|ef......|
|000016a0| 25 20 2d 2d 2d 20 6d 61 | 69 6e 20 70 72 6f 67 72 |% --- ma|in progr|
|000016b0| 61 6d 0d 09 09 6e 65 77 | 70 61 74 68 09 09 09 09 |am...new|path....|
|000016c0| 09 09 25 20 62 6c 61 63 | 6b 20 62 6f 78 0d 09 09 |..% blac|k box...|
|000016d0| 09 58 20 31 38 20 73 75 | 62 20 59 20 33 36 20 73 |.X 18 su|b Y 36 s|
|000016e0| 75 62 20 6d 6f 76 65 74 | 6f 20 62 6f 78 20 30 20 |ub movet|o box 0 |
|000016f0| 73 65 74 67 72 61 79 0d | 01 fb 09 09 66 69 6c 6c |setgray.|....fill|
|00001700| 0d 09 09 6e 65 77 70 61 | 74 68 09 09 09 09 09 09 |...newpa|th......|
|00001710| 25 20 64 61 72 6b 20 67 | 72 61 79 20 62 6f 78 0d |% dark g|ray box.|
|00001720| 09 09 09 58 20 59 20 6d | 6f 76 65 74 6f 20 62 6f |...X Y m|oveto bo|
|00001730| 78 20 30 2e 34 20 73 65 | 74 67 72 61 79 0d 09 09 |x 0.4 se|tgray...|
|00001740| 66 69 6c 6c 0d 09 09 6e | 65 77 70 61 74 68 09 09 |fill...n|ewpath..|
|00001750| 09 09 09 09 25 20 6c 69 | 67 68 74 20 67 72 61 79 |....% li|ght gray|
|00001760| 20 62 6f 78 0d 09 09 09 | 58 20 31 38 20 61 64 64 | box....|X 18 add|
|00001770| 20 59 20 33 36 20 61 64 | 64 20 6d 6f 76 65 74 6f | Y 36 ad|d moveto|
|00001780| 20 62 6f 78 20 30 2e 38 | 20 73 65 74 67 72 61 79 | box 0.8| setgray|
|00001790| 0d 09 09 66 69 6c 6c 0d | 09 09 0d 09 09 73 68 6f |...fill.|.....sho|
|000017a0| 77 70 61 67 65 0d 09 09 | 0d 09 09 37 2e 20 57 65 |wpage...|...7. We|
|000017b0| 20 63 61 6e 20 61 6c 73 | 6f 20 70 61 73 73 20 70 | can als|o pass p|
|000017c0| 61 72 61 6d 65 74 65 72 | 73 20 6f 6e 20 74 68 65 |arameter|s on the|
|000017d0| 20 73 74 61 63 6b 2e 20 | 20 54 68 65 20 69 6e 63 | stack. | The inc|
|000017e0| 68 20 70 72 6f 63 65 64 | 75 72 65 20 63 6f 6e 76 |h proced|ure conv|
|000017f0| 65 72 74 73 0d 09 09 66 | 72 6f 6d 20 69 6e 63 68 |erts...f|rom inch|
|00001800| 65 73 20 74 6f 20 74 68 | 65 20 50 6f 73 74 53 63 |es to th|e PostSc|
|00001810| 72 69 70 74 20 63 6f 6f | 72 64 69 6e 61 74 65 73 |ript coo|rdinates|
|00001820| 2e 20 20 57 65 20 61 6c | 73 6f 20 72 65 64 65 66 |. We al|so redef|
|00001830| 69 6e 65 20 74 68 65 20 | 62 6f 78 20 70 72 6f 63 |ine the |box proc|
|00001840| 65 64 75 72 65 0d 09 09 | 74 6f 20 61 6c 6c 6f 77 |edure...|to allow|
|00001850| 20 75 73 20 74 6f 20 74 | 65 6c 6c 20 77 68 65 72 | us to t|ell wher|
|00001860| 65 20 74 6f 20 64 72 61 | 77 20 69 74 2c 20 77 68 |e to dra|w it, wh|
|00001870| 61 74 20 63 6f 6c 6f 72 | 2c 20 61 6e 64 20 68 6f |at color|, and ho|
|00001880| 77 20 62 69 67 2e 0d 09 | 09 0d 09 09 25 20 2d 2d |w big...|....% --|
|00001890| 2d 20 70 72 6f 63 65 64 | 75 72 65 20 74 6f 20 63 |- proced|ure to c|
|000018a0| 6f 6e 76 65 72 74 20 66 | 72 6f 6d 20 69 6e 63 68 |onvert f|rom inch|
|000018b0| 65 73 20 74 6f 20 31 2f | 37 32 20 69 6e 63 68 20 |es to 1/|72 inch |
|000018c0| 75 6e 69 74 73 2e 20 53 | 74 61 63 6b 3a 20 69 6e |units. S|tack: in|
|000018d0| 63 68 65 73 20 2d 2d 3e | 20 70 73 75 6e 69 74 73 |ches -->| psunits|
|000018e0| 0d 09 09 2f 69 6e 63 68 | 20 7b 0d 09 09 09 37 32 |.../inch| {....72|
|000018f0| 20 6d 75 6c 0d 02 44 09 | 09 7d 20 64 65 66 0d 09 | mul..D.|.} def..|
|00001900| 09 0d 09 09 25 20 2d 2d | 2d 20 70 72 6f 63 65 64 |....% --|- proced|
|00001910| 75 72 65 20 74 6f 20 64 | 72 61 77 20 61 20 62 6f |ure to d|raw a bo|
|00001920| 78 2e 20 53 74 61 63 6b | 3a 20 73 69 7a 65 20 63 |x. Stack|: size c|
|00001930| 6f 6c 6f 72 20 78 20 79 | 20 2d 2d 3e 20 20 2d 0d |olor x y| --> -.|
|00001940| 09 09 2f 62 6f 78 20 7b | 0d 09 09 09 6e 65 77 70 |../box {|....newp|
|00001950| 61 74 68 0d 09 09 09 09 | 6d 6f 76 65 74 6f 0d 09 |ath.....|moveto..|
|00001960| 09 09 09 73 65 74 67 72 | 61 79 0d 09 09 09 09 2f |...setgr|ay...../|
|00001970| 73 69 7a 65 20 65 78 63 | 68 20 64 65 66 0d 09 09 |size exc|h def...|
|00001980| 09 09 73 69 7a 65 20 30 | 20 72 6c 69 6e 65 74 6f |..size 0| rlineto|
|00001990| 0d 09 09 09 09 30 20 73 | 69 7a 65 20 72 6c 69 6e |.....0 s|ize rlin|
|000019a0| 65 74 6f 0d 09 09 09 09 | 73 69 7a 65 20 6e 65 67 |eto.....|size neg|
|000019b0| 20 30 20 72 6c 69 6e 65 | 74 6f 0d 09 09 09 09 63 | 0 rline|to.....c|
|000019c0| 6c 6f 73 65 70 61 74 68 | 0d 09 09 7d 20 64 65 66 |losepath|...} def|
|000019d0| 0d 09 09 0d 09 09 25 20 | 2d 2d 2d 20 6d 61 69 6e |......% |--- main|
|000019e0| 20 70 72 6f 67 72 61 6d | 0d 09 09 32 20 69 6e 63 | program|...2 inc|
|000019f0| 68 20 30 20 31 20 69 6e | 63 68 20 31 20 69 6e 63 |h 0 1 in|ch 1 inc|
|00001a00| 68 20 62 6f 78 20 66 69 | 6c 6c 09 09 09 25 20 62 |h box fi|ll...% b|
|00001a10| 6c 61 63 6b 20 62 6f 78 | 0d 09 09 32 2e 35 20 69 |lack box|...2.5 i|
|00001a20| 6e 63 68 20 30 2e 34 20 | 31 2e 35 20 69 6e 63 68 |nch 0.4 |1.5 inch|
|00001a30| 20 31 2e 35 20 69 6e 63 | 68 20 62 6f 78 20 66 69 | 1.5 inc|h box fi|
|00001a40| 6c 6c 09 25 20 64 61 72 | 6b 20 67 72 61 79 20 62 |ll.% dar|k gray b|
|00001a50| 6f 78 0d 09 09 33 20 69 | 6e 63 68 20 30 2e 38 20 |ox...3 i|nch 0.8 |
|00001a60| 32 2e 30 20 69 6e 63 68 | 20 32 2e 30 20 69 6e 63 |2.0 inch| 2.0 inc|
|00001a70| 68 20 62 6f 78 20 66 69 | 6c 6c 09 09 25 20 6c 69 |h box fi|ll..% li|
|00001a80| 67 68 74 20 67 72 61 79 | 20 62 6f 78 0d 09 09 33 |ght gray| box...3|
|00001a90| 20 69 6e 63 68 20 30 20 | 32 2e 30 20 69 6e 63 68 | inch 0 |2.0 inch|
|00001aa0| 20 32 2e 30 20 69 6e 63 | 68 20 62 6f 78 20 0d 09 | 2.0 inc|h box ..|
|00001ab0| 09 09 38 20 73 65 74 6c | 69 6e 65 77 69 64 74 68 |..8 setl|inewidth|
|00001ac0| 20 73 74 72 6f 6b 65 09 | 09 09 25 20 62 6f 72 64 | stroke.|..% bord|
|00001ad0| 65 72 20 6c 69 67 68 74 | 20 67 72 61 79 20 62 6f |er light| gray bo|
|00001ae0| 78 0d 09 09 0d 09 09 73 | 68 6f 77 70 61 67 65 0d |x......s|howpage.|
|00001af0| 09 09 0d 09 09 38 2e 20 | 47 65 6e 65 72 61 6c 6c |.....8. |Generall|
|00001b00| 79 2c 20 70 61 73 73 69 | 6e 67 20 70 61 72 61 6d |y, passi|ng param|
|00001b10| 65 74 65 72 73 20 6f 6e | 20 74 68 65 20 73 74 61 |eters on| the sta|
|00001b20| 63 6b 20 63 61 6e 20 62 | 65 20 64 6f 6e 65 20 61 |ck can b|e done a|
|00001b30| 73 20 66 6f 6c 6c 6f 77 | 73 3a 0d 02 02 09 09 0d |s follow|s:......|
|00001b40| 09 09 49 66 20 74 68 65 | 20 63 61 6c 6c 20 74 6f |..If the| call to|
|00001b50| 20 74 68 65 20 70 72 6f | 63 65 64 75 72 65 20 69 | the pro|cedure i|
|00001b60| 73 3a 20 20 20 70 61 72 | 6d 31 20 70 61 72 6d 32 |s: par|m1 parm2|
|00001b70| 20 70 61 72 6d 33 20 70 | 72 6f 63 65 64 75 72 65 | parm3 p|rocedure|
|00001b80| 4e 61 6d 65 0d 09 09 0d | 09 09 54 68 65 6e 3a 0d |Name....|..Then:.|
|00001b90| 09 09 0d 09 09 2f 70 72 | 6f 63 65 64 75 72 65 4e |...../pr|ocedureN|
|00001ba0| 61 6d 65 20 7b 0d 09 09 | 09 2f 70 61 72 6d 33 20 |ame {...|./parm3 |
|00001bb0| 65 78 63 68 20 64 65 66 | 0d 09 09 09 2f 70 61 72 |exch def|..../par|
|00001bc0| 6d 32 20 65 78 63 68 20 | 64 65 66 0d 09 09 09 2f |m2 exch |def..../|
|00001bd0| 70 61 72 6d 31 20 65 78 | 63 68 20 64 65 66 0d 09 |parm1 ex|ch def..|
|00001be0| 09 09 2e 2e 2e 2e 20 75 | 73 65 20 76 61 72 69 61 |...... u|se varia|
|00001bf0| 62 6c 65 73 20 70 61 72 | 6d 31 2c 20 70 61 72 6d |bles par|m1, parm|
|00001c00| 32 2c 20 61 6e 64 20 70 | 61 72 6d 33 0d 09 09 7d |2, and p|arm3...}|
|00001c10| 20 64 65 66 0d 09 09 0d | 09 09 69 73 20 74 68 65 | def....|..is the|
|00001c20| 20 70 72 6f 63 65 64 75 | 72 65 2e 0d 09 09 0d 09 | procedu|re......|
|00001c30| 09 39 2e 20 57 72 69 74 | 69 6e 67 20 74 65 78 74 |.9. Writ|ing text|
|00001c40| 0d 09 09 54 6f 20 77 72 | 69 74 65 20 74 65 78 74 |...To wr|ite text|
|00001c50| 2c 20 77 65 20 6d 75 73 | 74 20 70 65 72 66 6f 72 |, we mus|t perfor|
|00001c60| 6d 20 74 68 65 20 66 6f | 6c 6c 6f 77 69 6e 67 20 |m the fo|llowing |
|00001c70| 6f 70 65 72 61 74 69 6f | 6e 73 3a 0d 09 09 09 2d |operatio|ns:....-|
|00001c80| 20 46 69 6e 64 20 74 68 | 65 20 66 6f 6e 74 20 6f | Find th|e font o|
|00001c90| 66 20 74 68 65 20 67 69 | 76 65 6e 20 6e 61 6d 65 |f the gi|ven name|
|00001ca0| 20 66 72 6f 6d 20 74 68 | 65 20 66 6f 6e 74 20 64 | from th|e font d|
|00001cb0| 69 63 74 69 6f 6e 61 72 | 79 2e 0d 09 09 09 2d 20 |ictionar|y.....- |
|00001cc0| 53 63 61 6c 65 20 74 68 | 65 20 66 6f 6e 74 20 74 |Scale th|e font t|
|00001cd0| 6f 20 74 68 65 20 61 70 | 70 72 6f 70 72 69 61 74 |o the ap|propriat|
|00001ce0| 65 20 73 69 7a 65 2e 0d | 09 09 09 2d 20 53 65 74 |e size..|...- Set|
|00001cf0| 20 74 68 65 20 66 6f 6e | 74 20 62 79 20 70 6f 70 | the fon|t by pop|
|00001d00| 70 69 6e 67 20 69 74 20 | 6f 66 66 20 74 68 65 20 |ping it |off the |
|00001d10| 73 74 61 63 6b 20 61 6e | 64 20 65 73 74 61 62 6c |stack an|d establ|
|00001d20| 69 73 68 69 6e 67 20 69 | 74 20 61 73 20 74 68 65 |ishing i|t as the|
|00001d30| 20 63 75 72 72 65 6e 74 | 20 66 6f 6e 74 2e 0d 02 | current| font...|
|00001d40| 0c 09 09 0d 09 09 2f 69 | 6e 63 68 20 7b 37 32 20 |....../i|nch {72 |
|00001d50| 6d 75 6c 20 7d 20 64 65 | 66 0d 09 09 2f 66 6f 6e |mul } de|f.../fon|
|00001d60| 74 31 20 2f 54 69 6d 65 | 73 2d 52 6f 6d 61 6e 20 |t1 /Time|s-Roman |
|00001d70| 66 69 6e 64 66 6f 6e 74 | 20 31 30 30 20 73 63 61 |findfont| 100 sca|
|00001d80| 6c 65 66 6f 6e 74 20 64 | 65 66 09 09 09 09 09 25 |lefont d|ef.....%|
|00001d90| 20 73 61 76 65 20 74 68 | 65 20 66 6f 75 6e 64 2c | save th|e found,|
|00001da0| 20 73 63 61 6c 65 64 20 | 66 6f 6e 74 0d 09 09 2f | scaled |font.../|
|00001db0| 66 6f 6e 74 32 20 2f 54 | 69 6d 65 73 2d 42 6f 6c |font2 /T|imes-Bol|
|00001dc0| 64 49 74 61 6c 69 63 20 | 66 69 6e 64 66 6f 6e 74 |dItalic |findfont|
|00001dd0| 20 38 30 20 73 63 61 6c | 65 66 6f 6e 74 20 64 65 | 80 scal|efont de|
|00001de0| 66 09 09 09 09 25 20 73 | 61 76 65 20 74 68 65 20 |f....% s|ave the |
|00001df0| 66 6f 75 6e 64 2c 20 73 | 63 61 6c 65 64 20 66 6f |found, s|caled fo|
|00001e00| 6e 74 0d 09 09 32 20 69 | 6e 63 68 20 32 20 69 6e |nt...2 i|nch 2 in|
|00001e10| 63 68 20 6d 6f 76 65 74 | 6f 09 09 09 25 20 77 72 |ch movet|o...% wr|
|00001e20| 69 74 65 20 27 48 45 4c | 4c 4f 27 0d 09 09 30 20 |ite 'HEL|LO'...0 |
|00001e30| 73 65 74 67 72 61 79 0d | 09 09 66 6f 6e 74 31 20 |setgray.|..font1 |
|00001e40| 73 65 74 66 6f 6e 74 20 | 28 48 45 4c 4c 4f 29 20 |setfont |(HELLO) |
|00001e50| 73 68 6f 77 0d 09 09 33 | 20 69 6e 63 68 20 31 2e |show...3| inch 1.|
|00001e60| 37 20 69 6e 63 68 20 6d | 6f 76 65 74 6f 09 09 09 |7 inch m|oveto...|
|00001e70| 25 20 77 72 69 74 65 20 | 27 74 68 65 72 65 27 0d |% write |'there'.|
|00001e80| 09 09 30 2e 33 33 33 33 | 20 73 65 74 67 72 61 79 |..0.3333| setgray|
|00001e90| 0d 09 09 66 6f 6e 74 32 | 20 73 65 74 66 6f 6e 74 |...font2| setfont|
|00001ea0| 20 28 74 68 65 72 65 29 | 20 73 68 6f 77 0d 09 09 | (there)| show...|
|00001eb0| 73 68 6f 77 70 61 67 65 | 0d 09 09 0d 09 09 31 30 |showpage|......10|
|00001ec0| 2e 20 46 69 6e 61 6c 20 | 45 78 61 6d 70 6c 65 3a |. Final |Example:|
|00001ed0| 20 61 20 4e 65 58 54 20 | 42 75 74 74 6f 6e 0d 09 | a NeXT |Button..|
|00001ee0| 09 0d 09 09 25 20 64 72 | 61 77 20 62 75 74 74 6f |....% dr|aw butto|
|00001ef0| 6e 20 2d 20 78 6c 6f 63 | 2c 79 6c 6f 63 20 73 68 |n - xloc|,yloc sh|
|00001f00| 6f 75 6c 64 20 62 65 20 | 6c 6f 77 65 72 20 6c 65 |ould be |lower le|
|00001f10| 66 74 20 63 6f 72 6e 65 | 72 20 6f 66 20 62 75 74 |ft corne|r of but|
|00001f20| 74 6f 6e 2e 20 0d 09 09 | 25 20 20 73 74 61 63 6b |ton. ...|% stack|
|00001f30| 3a 20 78 6c 6f 63 20 79 | 6c 6f 63 20 78 73 69 7a |: xloc y|loc xsiz|
|00001f40| 65 20 79 73 69 7a 65 20 | 2d 3e 20 2d 0d 02 07 09 |e ysize |-> -....|
|00001f50| 09 2f 77 68 69 74 65 20 | 31 2e 30 20 64 65 66 0d |./white |1.0 def.|
|00001f60| 09 09 2f 6c 69 67 68 74 | 47 72 61 79 20 30 2e 36 |../light|Gray 0.6|
|00001f70| 36 36 36 36 20 64 65 66 | 0d 09 09 2f 64 61 72 6b |6666 def|.../dark|
|00001f80| 47 72 61 79 20 30 2e 33 | 33 33 33 33 20 64 65 66 |Gray 0.3|3333 def|
|00001f90| 0d 09 09 2f 62 6c 61 63 | 6b 20 30 2e 30 20 64 65 |.../blac|k 0.0 de|
|00001fa0| 66 0d 09 09 2f 64 72 61 | 77 42 75 74 74 6f 6e 20 |f.../dra|wButton |
|00001fb0| 7b 0d 09 09 09 67 73 61 | 76 65 0d 09 09 09 2f 79 |{....gsa|ve..../y|
|00001fc0| 73 69 7a 65 20 65 78 63 | 68 20 64 65 66 0d 09 09 |size exc|h def...|
|00001fd0| 09 2f 78 73 69 7a 65 20 | 65 78 63 68 20 64 65 66 |./xsize |exch def|
|00001fe0| 0d 09 09 09 2f 79 6c 6f | 63 20 65 78 63 68 20 64 |..../ylo|c exch d|
|00001ff0| 65 66 0d 09 09 09 2f 78 | 6c 6f 63 20 65 78 63 68 |ef..../x|loc exch|
|00002000| 20 64 65 66 0d 09 09 09 | 31 20 73 65 74 6c 69 6e | def....|1 setlin|
|00002010| 65 77 69 64 74 68 0d 09 | 09 09 32 20 73 65 74 6c |ewidth..|..2 setl|
|00002020| 69 6e 65 63 61 70 0d 09 | 09 09 09 6e 65 77 70 61 |inecap..|...newpa|
|00002030| 74 68 0d 09 09 09 09 09 | 78 6c 6f 63 20 79 6c 6f |th......|xloc ylo|
|00002040| 63 20 6d 6f 76 65 74 6f | 0d 09 09 09 09 09 30 20 |c moveto|......0 |
|00002050| 79 73 69 7a 65 20 72 6c | 69 6e 65 74 6f 0d 09 09 |ysize rl|ineto...|
|00002060| 09 09 09 78 73 69 7a 65 | 20 30 20 72 6c 69 6e 65 |...xsize| 0 rline|
|00002070| 74 6f 0d 09 09 09 09 77 | 68 69 74 65 20 73 65 74 |to.....w|hite set|
|00002080| 67 72 61 79 20 73 74 72 | 6f 6b 65 0d 09 09 09 09 |gray str|oke.....|
|00002090| 6e 65 77 70 61 74 68 20 | 0d 09 09 09 09 09 78 6c |newpath |......xl|
|000020a0| 6f 63 20 79 6c 6f 63 20 | 6d 6f 76 65 74 6f 0d 09 |oc yloc |moveto..|
|000020b0| 09 09 09 09 78 73 69 7a | 65 20 30 20 72 6c 69 6e |....xsiz|e 0 rlin|
|000020c0| 65 74 6f 0d 09 09 09 09 | 09 30 20 79 73 69 7a 65 |eto.....|.0 ysize|
|000020d0| 20 72 6c 69 6e 65 74 6f | 0d 09 09 09 09 62 6c 61 | rlineto|.....bla|
|000020e0| 63 6b 20 73 65 74 67 72 | 61 79 20 73 74 72 6f 6b |ck setgr|ay strok|
|000020f0| 65 0d 09 09 09 09 6e 65 | 77 70 61 74 68 0d 09 09 |e.....ne|wpath...|
|00002100| 09 09 09 31 20 78 6c 6f | 63 20 61 64 64 20 31 20 |...1 xlo|c add 1 |
|00002110| 79 6c 6f 63 20 61 64 64 | 20 6d 6f 76 65 74 6f 0d |yloc add| moveto.|
|00002120| 09 09 09 09 09 78 73 69 | 7a 65 20 32 20 73 75 62 |.....xsi|ze 2 sub|
|00002130| 20 30 20 72 6c 69 6e 65 | 74 6f 0d 09 09 09 09 09 | 0 rline|to......|
|00002140| 30 20 79 73 69 7a 65 20 | 32 20 73 75 62 20 72 6c |0 ysize |2 sub rl|
|00002150| 69 6e 65 74 6f 0d 02 00 | 09 09 09 09 64 61 72 6b |ineto...|....dark|
|00002160| 47 72 61 79 20 73 65 74 | 67 72 61 79 20 73 74 72 |Gray set|gray str|
|00002170| 6f 6b 65 0d 09 09 09 09 | 6e 65 77 70 61 74 68 0d |oke.....|newpath.|
|00002180| 09 09 09 09 09 31 20 78 | 6c 6f 63 20 61 64 64 20 |.....1 x|loc add |
|00002190| 31 20 79 6c 6f 63 20 61 | 64 64 20 6d 6f 76 65 74 |1 yloc a|dd movet|
|000021a0| 6f 0d 09 09 09 09 09 78 | 73 69 7a 65 20 32 20 73 |o......x|size 2 s|
|000021b0| 75 62 20 30 20 72 6c 69 | 6e 65 74 6f 0d 09 09 09 |ub 0 rli|neto....|
|000021c0| 09 09 30 20 79 73 69 7a | 65 20 32 20 73 75 62 20 |..0 ysiz|e 2 sub |
|000021d0| 72 6c 69 6e 65 74 6f 0d | 09 09 09 09 09 32 20 78 |rlineto.|.....2 x|
|000021e0| 73 69 7a 65 20 73 75 62 | 20 30 20 72 6c 69 6e 65 |size sub| 0 rline|
|000021f0| 74 6f 0d 09 09 09 09 63 | 6c 6f 73 65 70 61 74 68 |to.....c|losepath|
|00002200| 20 6c 69 67 68 74 47 72 | 61 79 20 73 65 74 67 72 | lightGr|ay setgr|
|00002210| 61 79 20 66 69 6c 6c 09 | 09 0d 09 09 09 67 72 65 |ay fill.|.....gre|
|00002220| 73 74 6f 72 65 0d 09 09 | 7d 20 64 65 66 0d 09 09 |store...|} def...|
|00002230| 2f 69 6e 63 68 20 7b 20 | 37 32 20 6d 75 6c 20 7d |/inch { |72 mul }|
|00002240| 20 64 65 66 0d 0d 09 09 | 25 20 6d 61 69 6e 20 70 | def....|% main p|
|00002250| 72 6f 67 72 61 6d 0d 09 | 09 2f 54 69 6d 65 73 2d |rogram..|./Times-|
|00002260| 52 6f 6d 61 6e 20 66 69 | 6e 64 66 6f 6e 74 20 33 |Roman fi|ndfont 3|
|00002270| 30 20 73 63 61 6c 65 66 | 6f 6e 74 20 73 65 74 66 |0 scalef|ont setf|
|00002280| 6f 6e 74 0d 09 09 0d 09 | 09 25 20 64 72 61 77 20 |ont.....|.% draw |
|00002290| 62 61 63 6b 67 72 6f 75 | 6e 64 0d 09 09 6e 65 77 |backgrou|nd...new|
|000022a0| 70 61 74 68 0d 09 09 09 | 30 20 30 20 6d 6f 76 65 |path....|0 0 move|
|000022b0| 74 6f 0d 09 09 09 30 20 | 34 20 69 6e 63 68 20 72 |to....0 |4 inch r|
|000022c0| 6c 69 6e 65 74 6f 0d 09 | 09 09 34 20 69 6e 63 68 |lineto..|..4 inch|
|000022d0| 20 30 20 72 6c 69 6e 65 | 74 6f 0d 09 09 09 30 20 | 0 rline|to....0 |
|000022e0| 2d 34 20 69 6e 63 68 20 | 72 6c 69 6e 65 74 6f 0d |-4 inch |rlineto.|
|000022f0| 09 09 09 63 6c 6f 73 65 | 70 61 74 68 0d 09 09 09 |...close|path....|
|00002300| 6c 69 67 68 74 47 72 61 | 79 20 73 65 74 67 72 61 |lightGra|y setgra|
|00002310| 79 20 0d 09 09 66 69 6c | 6c 0d 0d 09 09 25 20 64 |y ...fil|l....% d|
|00002320| 72 61 77 20 62 75 74 74 | 6f 6e 0d 09 09 32 20 69 |raw butt|on...2 i|
|00002330| 6e 63 68 20 32 20 69 6e | 63 68 20 31 2e 34 20 69 |nch 2 in|ch 1.4 i|
|00002340| 6e 63 68 20 30 2e 35 20 | 69 6e 63 68 20 64 72 61 |nch 0.5 |inch dra|
|00002350| 77 42 75 74 74 6f 6e 0d | 01 61 09 09 30 20 73 65 |wButton.|.a..0 se|
|00002360| 74 67 72 61 79 0d 09 09 | 32 2e 31 20 69 6e 63 68 |tgray...|2.1 inch|
|00002370| 20 32 2e 31 20 69 6e 63 | 68 20 6d 6f 76 65 74 6f | 2.1 inc|h moveto|
|00002380| 0d 09 09 28 42 75 74 74 | 6f 6e 29 20 73 68 6f 77 |...(Butt|on) show|
|00002390| 0d 09 09 73 68 6f 77 70 | 61 67 65 0d 0d 49 56 2e |...showp|age..IV.|
|000023a0| 20 43 6f 6e 63 6c 75 73 | 69 6f 6e 0d 0d 09 50 6f | Conclus|ion...Po|
|000023b0| 73 74 53 63 72 69 70 74 | 20 69 73 20 76 65 72 73 |stScript| is vers|
|000023c0| 61 74 69 6c 65 20 65 6e | 6f 75 67 68 20 74 6f 20 |atile en|ough to |
|000023d0| 70 72 6f 76 69 64 65 20 | 61 6c 6c 20 64 72 61 77 |provide |all draw|
|000023e0| 69 6e 67 20 6e 65 65 64 | 73 2c 20 61 6e 64 20 66 |ing need|s, and f|
|000023f0| 61 73 74 20 65 6e 6f 75 | 67 68 20 6f 6e 20 74 68 |ast enou|gh on th|
|00002400| 65 20 4e 65 58 54 0d 09 | 66 6f 72 20 67 6f 6f 64 |e NeXT..|for good|
|00002410| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 20 70 65 72 | applica|tion per|
|00002420| 66 6f 72 6d 61 6e 63 65 | 2e 20 20 49 74 20 61 6c |formance|. It al|
|00002430| 6c 6f 77 73 20 61 20 74 | 72 75 65 20 22 77 68 61 |lows a t|rue "wha|
|00002440| 74 20 79 6f 75 20 73 65 | 65 20 69 73 20 77 68 61 |t you se|e is wha|
|00002450| 74 20 79 6f 75 20 67 65 | 74 22 20 73 79 73 74 65 |t you ge|t" syste|
|00002460| 6d 2c 0d 09 61 6e 64 20 | 64 65 76 65 6c 6f 70 65 |m,..and |develope|
|00002470| 72 73 20 6e 65 65 64 20 | 6e 6f 74 20 77 6f 72 72 |rs need |not worr|
|00002480| 79 20 61 62 6f 75 74 20 | 73 75 70 70 6f 72 74 69 |y about |supporti|
|00002490| 6e 67 20 76 61 72 69 6f | 75 73 20 64 69 66 66 65 |ng vario|us diffe|
|000024a0| 72 65 6e 74 20 6b 69 6e | 64 73 20 6f 66 20 68 61 |rent kin|ds of ha|
|000024b0| 72 64 77 61 72 65 2e 09 | 09 0d 0d 00 5a 64 00 02 |rdware..|....Zd..|
|000024c0| 8e 00 d2 04 00 04 ca 00 | a8 04 00 06 f3 01 5e 04 |........|......^.|
|000024d0| 00 0a ed 00 d2 04 00 0d | 05 02 06 04 00 10 f0 01 |........|........|
|000024e0| 5e 04 00 12 e8 01 ce 04 | 00 14 f9 01 6c 04 00 16 |^.......|....l...|
|000024f0| f8 00 ee 04 00 18 f5 01 | 50 04 00 1b 3b 01 0a 04 |........|P...;...|
|00002500| 00 1d 3f 00 fc 04 00 1f | 4d 01 6c 04 00 21 56 01 |..?.....|M.l..!V.|
|00002510| 6c 04 00 23 58 00 a8 00 | 0c 04 00 02 00 00 54 04 |l..#X...|......T.|
|00002520| 00 02 06 00 54 00 00 00 | 78 00 03 00 00 00 48 00 |....T...|x.....H.|
|00002530| 48 00 00 00 00 03 18 02 | 64 00 00 00 00 03 18 02 |H.......|d.......|
|00002540| 64 01 5b 05 28 03 fc 00 | 02 00 00 00 48 00 48 00 |d.[.(...|....H.H.|
|00002550| 00 00 00 03 18 02 64 00 | 01 00 00 00 64 00 00 00 |......d.|....d...|
|00002560| 01 00 01 01 01 00 00 00 | 01 27 0f 00 01 00 01 00 |........|.'......|
|00002570| 00 00 00 00 00 00 00 00 | 00 00 00 00 02 00 19 01 |........|........|
|00002580| 90 00 00 00 00 00 40 00 | 00 00 00 00 00 00 00 00 |......@.|........|
|00002590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000025a0| 00 | |. | |
+--------+-------------------------+-------------------------+--------+--------+