📄 cd1.ps
字号:
%!PS-Adobe-2.0 EPSF-2.0%%Title: /scratch/possum/u2/pavlin/work/xorp/tmp/xorp/docs/user_manual/figs/cd1.ps%%Creator: XV Version 3.10a Rev: 12/29/94 (jp-extension 5.3.3 + PNG patch 1.2d) - by John Bradley%%BoundingBox: 68 290 545 503%%Pages: 1%%DocumentFonts:%%EndComments%%EndProlog%%Page: 1 1% remember original state/origstate save def% build a temporary dictionary20 dict begin% define space for color conversions/grays 477 string def % space for gray scale line/npixls 0 def/rgbindx 0 def% lower left corner68 290 translate% size of image (on paper, in 1/72inch coords)477.00000 212.97600 scale% define 'colorimage' if it isn't defined% ('colortogray' and 'mergeprocs' come from xwd2ps% via xgrab)/colorimage where % do we know about 'colorimage'? { pop } % yes: pop off the 'dict' returned { % no: define one /colortogray { % define an RGB->I function /rgbdata exch store % call input 'rgbdata' rgbdata length 3 idiv /npixls exch store /rgbindx 0 store 0 1 npixls 1 sub { grays exch rgbdata rgbindx get 20 mul % Red rgbdata rgbindx 1 add get 32 mul % Green rgbdata rgbindx 2 add get 12 mul % Blue add add 64 idiv % I = .5G + .31R + .18B put /rgbindx rgbindx 3 add store } for grays 0 npixls getinterval } bind def % Utility procedure for colorimage operator. % This procedure takes two procedures off the % stack and merges them into a single procedure. /mergeprocs { % def dup length 3 -1 roll dup length dup 5 1 roll 3 -1 roll add array cvx dup 3 -1 roll 0 exch putinterval dup 4 2 roll putinterval } bind def /colorimage { % def pop pop % remove 'false 3' operands {colortogray} mergeprocs image } bind def } ifelse % end of 'false' case% define the colormap/cmap 15 string def% load up the colormapcurrentfile cmap readhexstring000000 0000c8 e0e4e0 f8fc00 f8fcf8 pop pop % lose return values from readhexstring% rlecmapimage expects to have 'w h bits matrix' on stack/rlecmapimage { /buffer 1 string def /rgbval 3 string def /block 384 string def % proc to read a block from file, and return RGB data { currentfile buffer readhexstring pop /bcount exch 0 get store bcount 128 ge { % it's a non-run block 0 1 bcount 128 sub { currentfile buffer readhexstring pop pop % look up value in color map /rgbval cmap buffer 0 get 3 mul 3 getinterval store % and put it in position i*3 in block block exch 3 mul rgbval putinterval } for block 0 bcount 127 sub 3 mul getinterval } { % else it's a run block currentfile buffer readhexstring pop pop % look up value in colormap /rgbval cmap buffer 0 get 3 mul 3 getinterval store 0 1 bcount { block exch 3 mul rgbval putinterval } for block 0 bcount 1 add 3 mul getinterval } ifelse } % end of proc false 3 colorimage} bind def477 213 8 % dimensions of data[477 0 0 -213 0 213] % mapping matrixrlecmapimage7f017f017f015c017f017f017f015c017f017f017f015c017f017f017f015c017f017f017f015c017f017f017f015c017f017f017f015c017f017f017f015c017f017f017f015c017f017f017f015c017f017f017f015c017f017f017f015c017f017f017f015c017f017f017f015c017f017f017f015c017f017f017f015c017f017f017f015c017f017f017f015c017f017f017f015c017f017f017f015c017f017f017f015c011b017f027f027f0223021c011b017f027f027f0223021c011b017f022d0201030102010381020302038102030303810203030306020103050201030e02030381020303037f0234021c011b017f022d0201030102030301020303010203030102010305020103050201030d02010301020103810203820302038103027f0232021c011b017f022e020303810203810302810203020301020303010201030502010315020103040201038102038103027f0232021c011b017f022e02030381020381030281020302030102030301020103050201030402020301020103010201038102030203810203810302030201038102038103027f0232021c011b0101027f042504070201030102010301020603810203030306020103050201030102010301020303010203030402010381020381030204027f042704020002021c011b0101027f04250406020303810203810302810203040301020103090201030502010301020103010209030402010381020381030204027f042704010281000201021c011b01010201047f022a02030381020381030281020302038102038203020381030208020103050201030202030381020381030202020103040201038102038103027f022e0281000201021c011b01010201047f02290201030102030301020303010203030902010305020103020203038102038103020202010301020103810203820302038103027f022e0281000201021c011b01010201047f0229020103010201038102030203810203810302810203020309020503810203020302020103020203030102030381020303037f02300281000201021c011b01010201047f027f027f021b0281000201021c011b01010201047f027f027f021b0281000201021c011b01010201047f027f027f021b0281000201020b0010011b01010201047f027f027f021b0281000201020b0010011b01010201040702810002010281000281020001000102030001020300090201000e0201000c0281000241028100021102010002020100240281000229020400820200027f021b0281000201020b0010011b010102010407028100020102830002000201028300020002010283000200020102810002060281000282020002070281000203028100020b028100020602810002270281000209028100020202810002100281000282020002010281000223028100020702810002210281000201028100027f021b0281000201020b0010011b0101020104080283000200028202000201028300020002010283000200020102810002060281000210028100020b0281000206028100022702810002090281000202028100021002810002040281000223028100022b0281000201028100027702810002210281000201020b0010011b01010201040802830002000282020002010283000200020102830002000201028100020602810002030202000202010004028100020202020002020300060203000202020007020100820200020102020001028100020102840002000200810002810200020007020300010282000200810002010202000802810002040281000202020200010203000102030001028100020102810002060203008302000200810002010201000202810002010281000281020001001502810002010282000200810002010202000802020001028200020081000283020002008100020102020001028200020081000206020100820200020102020002020200020202000202020002020200020202000702810002010281000281020001000202020002020200210281000201020b0010011b01010201040902810002010281000201028200020002000102030007020300050281000201028100020302810002010281000201028300020002010281000206028100020202810002010281000205028700020002000200020102830002000201028200020081000282020002820200020902810002020201000102830002000201028100020502030003028100020102810002010283000200020102830002000201028300020002010281000205028100020102820002008100028202000201028100020102810002010283000200020102810002130281000201020100010283000200020102810002050281000201028200020081000283020002008100028402000200020102820002008100028202000205028700020002000200020102830002000201028300020002010281000203028300020002010283000200020102810002050281000201028100020302830002000201028100020102810002210281000201020b0010011b0101020104080283000200028202000201028500020002000201028100020a0281000203020300020281000203028100020102040082020002010281000206028100020202810002010281000205028700020002000200020102830002000201028300020002010281000282020002090281000202028100020102820002000300070281000204028100020102810002010283000200020102830002000201028300020002010281000205028100020102830002000205028100020102810002010282000200030014028100020102810002010282000200030006020400820200020302810002030281000201028300020002090286000200020002000300010201000302010003020300820200020102820002000300060285000200020002810200020001020100280281000201020b0010011b010102010408028300020002820200020102830002000282020002820200020a0281000202028100020102810002010281000203028100020102810002030281000201028100020602810002020281000201028100020502870002000200020002010283000200020102830002000201028100028202000209028100020202810002010283000200020a0281000204028100020102810002010283000200020102830002000201028300020002810200810002050281000201028300020002050281000202028300020002820200021702810002010281000201028300020002090281000203028100020302810002030281000201028300020002090287000200020002000206028100020302810002820200020102830002000201028300020002090287000200020002000201028100020202810002260281000201020b0010011b010102010407028100020102830002000201028300020002010283000200020a028100020202810002810200810002010281000203028100020102810002010283000200020102810002060281000284020002000201028100020502870002000200020002010283000200028102008300020002010281000282020002820200020602810002840200020002010283000200020102810002060281000204028100020102810002010282000200020001020300020201008202000205028100020102830002000205028100020202830002000282020002010281000201028100020f0281000201028100020102830002000201028100020502810002010283000200020302810002030281000201028300020002090287000200020002000201028300020002010283000200020102830002000281020081000281020002008202000201028100020502870002000200020002810200830002000201028100020102810002210281000201020b0010011b01010201040702810002010281000281020001000102810002010283000200020a02810002030201008202000281020001000202020002020200020203000802010002020200070281000201028100028102000100020201008402000200020102810002010201000902010001028100020102810002810200010008028100020302020002020200010281000203028100020702810002060203008202000204020200030281000202020200020202000f0281000201028100020102810002810200010008020200010281000203028100020402020001028100020902810002010281000281020001000202020002020200020201008202000203028100028102000100080283000200020102010082020002810200010002020200210281000201020b0010011b01010201047f022f028100020302810002030281000201028100022502810002670281000201028100021f02810002210281000201020b0010011b01010201047f022f028100020302810002040202007f0212020200450281000201020b0010011b01010201047f027f027f021b0281000201020b0010011b01010201047f027f027f021b0281000201020b0010011b01010201047f027f027f021b0281000201020b0010011b01010201047f027f027f021b0281000201020b0010011b01010201047f027f027f021b0281000201020b0010011b01010201047f027f027f021b0281000201020b0010011b01010201047f027f027f021b0281000201020b0010011b01010201047f027f027f021b0281000201020b0010011b01010201047f027f027f021b0281000201020b0010011b01010201047f027f027f021b0281000201020b0010011b01010201047f027f027f021b0281000201020b0010011b01010201047f027f027f021b0281000201020b0010011b01010201047f027f027f021b0281000201020b0010011b01010201047f027f027f021b0281000201020b0010011b01010201047f027f027f021b0281000201020b0010011b01010201043b028100021b0281000203028100020f0281000201020100050281000201028100020e0202001d028100027f02650281000201020b0010011b0101020104200281000218028100021b0281000203028100020f02810002820200028202000203028100028402000200020e02810002140281000206028100020c028100020f028100027f02440281000201020b0010011b0101020104200281000218028100020d028100020a0281000204028100020e02810002010281000206028300020002010281000201028100020902810002140281000205028100020d028100020f028100027f02440281000201020b0010011b0101020104070201008202000201020200010281000201028400020002008100028102000200070201008202000201020200020203000102020002020200020202000a02810002010203000102020001028100020102810002020281000201028100020302030082020002010281000281020001000902810002010282000200810002810200020001028100020102820002000200040281000201020200010281000201028200020002000102030001028100020102820002000200080202000102820002008100028302000200810002010202000102820002008100027f021e0281000201020b0010011b010102010407028700020002000200020102830002000201028200020081000282020002820200020802870002000200020002010283000200020102830002000201028300020002010281000201028100020902810002010281000201028300020002010283000200020102810002010281000201020300010281000201028300020002010281000201028100020902810002010201000102830002000201028300020002010281000282020002040281000201028100020102830002000201028100028202000202028100020102830002000201028100028202000208028100020102820002008100028302000200810002840200020002010282000200810002820200027f021d0281000201020b0010011b01010201040702870002000200020002010283000200020102830002000201028100028202000208028500020002000281020081000201028100020102830002000201028100028102008100020e028100020202810002010282000200030082020002010281000282020002030281000202028100020102830002000201028100020d02810002010281000201028300020002010283000200020102810002820200020302810002020281000201028300020002010281000282020002020281000201028300020002010281000282020002080204008202000203028100020302810002010283000200027f02210281000201020b0010011b01010201040702870002000200020002010283000200020102830002000201028100028202000208028500020002000202028100028202000201028300020002010281000202028100020d02810002020281000201028300020002040283000200020102810002030281000202028100020102830002000201028100020d028100020102810002010283000200020102830002000201028100028202000203028100020202810002010283000200020102810002820200020202810002010283000200020102810002820200020802810002030281000203028100020302810002010283000200027f02210281000201020b0010011b0101020104070287000200020002000201028300020002810200830002000201028100028202000282020002050287000200020002000201028300020002010283000200020102
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -