⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cd4.ps

📁 xorp源码hg
💻 PS
📖 第 1 页 / 共 4 页
字号:
%!PS-Adobe-2.0 EPSF-2.0%%Title: /scratch/possum/u2/pavlin/work/xorp/tmp/xorp/docs/user_manual/figs/cd4.ps%%Creator: XV Version 3.10a Rev: 12/29/94 (jp-extension 5.3.3 + PNG patch 1.2d)  -  by John Bradley%%BoundingBox: 68 195 546 502%%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 478 string def  % space for gray scale line/npixls 0 def/rgbindx 0 def% lower left corner68 195 translate% size of image (on paper, in 1/72inch coords)478.00800 307.00800 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 21 string def% load up the colormapcurrentfile cmap readhexstring000000 0000c8 c80000 e0e4e0 f80000 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 def478 307 8			% dimensions of data[478 0 0 -307 0 307]		% mapping matrixrlecmapimage7f017f017f015d017f017f017f015d017f017f017f015d017f017f017f015d017f017f017f015d017f017f017f015d017f017f017f015d017f017f017f015d017f017f017f015d017f017f017f015d017f017f017f015d0134017f037f036d033a0134017f037f036d033a0134017f03150301050103010581030502058103050305810305030506030105050301050e03030581030503057f0316033a0134017f03150301050103030501030305010303050103010505030105050301050d03010501030105810305820503058105037f0314033a0134017f0316030305810305810503810305020501030305010301050503010515030105040301058103058105037f0314033a0134017f031603030581030581050381030502050103030501030105050301050403020501030105010301058103050205810305810503030301058103058105037f0314033a01340101037f060d06070301050103010501030605810305030506030105050301050103010501030305010303050403010581030581050304037f060906020002033a01340101037f060d0606030305810305810503810305040501030105090301050503010501030105010309050403010581030581050304037f060906010381000301033a013401010301067f031203030581030581050381030502058103058205030581050308030105050301050203030581030581050302030105040301058103058105037f03100381000301033a013401010301067f03110301050103030501030305010303050903010505030105020303058103058105030203010501030105810305820503058105037f03100381000301033a013401010301067f0311030105010301058103050205810305810503810305020509030505810305020502030105020303050103030581030503057f03120381000301033a013401010301067f037f03650381000301033a013401010301067f037f03650381000301033a013401010301067f037f03650381000301030b002e013401010301067f037f03650381000301030b002e01340101030106070304008203000339038100035d03810003290301006103810003290381000301030b002e0134010103010609038100030103810003340381000302038100031c038100030403810003200381000314038100030b0381000308038100030f03810003820300031f038100033d038100030503810003210381000301030b002e0134010103010609038100030103810003340381000302038100031c038100032703810003140381000316038100030f038100036203810003290381000301030b002e013401010301060903810003010382000300810003010302000203020002030200080302000103820003008100030103020007030300010382000300810003010302000803020002030200010303000203010002038100030103810003810300010007038200030081000301030200010303000103810003010381000381030001000103820003008100038203000382030003070301000203820003008100038103000200020302000103820003008100030103810003030302000203020002030200020302000803010002038200030081000306038100030103810003810300010001038100030103840003000300810003060301008203000301030200020302000103820003008100030103010002038200030081000301030200150381000301030b002e01340101030106090381000301030100010383000300030103830003000301038300030003010381000309038200030081000384030003000301038100030603810003020301000103830003000301038100030903830003000301038100038203000304038100030103810003010383000300030103810003050301000103830003000301038100038203000302038100030103830003000301038200030081000386030003000300030903810003010301000103810003820300030203810003010382000300810003830300030002000503830003000301038300030003010383000300030103810003070381000301030100010381000305038100030103830003000301038300030003010382000300810003820300030503850003000300030303830003000301038200030081000382030003010381000301030100010383000300030103810003130381000301030b002e01340101030106090381000301038100030103820003000300010301000203040007030300820300030303040007038100030203810003010382000300030007030300820300030403810003040381000301038100030103820003000300060381000301038200030003000103810003020387000300030003000301038300030003030301000b03810003010381000301038100038203000302030400820300030403810003030303008203000303030400010301000a0381000301038100030103810003050381000301038300030003010383000300030103830003000309038500030003000381030002008203000303038100030103810003010381000301038100030103820003000300140381000301030b002e01340101030106090381000301038100030103830003000306038100038203000309038100030103830003000303038100030a038100030203810003010383000300030903810003010383000300030403810003040381000302038300030003820300030903810003010383000300030403810003020387000300030003000301038300030003030383000300030903810003010381000301038100038203000302038100030303810003040381000302038100030103830003000303038100030603810003080381000301038100030103810003050381000381030083000300030103830003000301038300030003090387000300030003000301038300030003030381000301038100030103810003010381000301038300030003170381000301030b002e013401010301060903810003010381000301038300030003010383000300030103830003000301038100030503810003810300830003000303038100030103810003060381000384030003000301038300030003010381000305038100038103008300030003010381000382030003820300030103810003020383000300038203000301038100030503810003010383000300030103810003820300038a03000300030003000300030103830003000303038100038203000308038100030103810003010381000382030003840300030003010383000300030403810003020381000381030083000300030103830003000301038300030003010381000307038100030103810003010381000306030100840300030003010383000300038103008300030003090387000300030003000381030083000300030103830003000301038100030103810003010381000301038300030003010381000301038100030f0381000301030b002e01

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -