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

📄 cd2.ps

📁 xorp源码hg
💻 PS
📖 第 1 页 / 共 2 页
字号:
%!PS-Adobe-2.0 EPSF-2.0%%Title: /scratch/possum/u2/pavlin/work/xorp/tmp/xorp/docs/user_manual/figs/cd2.ps%%Creator: XV Version 3.10a Rev: 12/29/94 (jp-extension 5.3.3 + PNG patch 1.2d)  -  by John Bradley%%BoundingBox: 68 291 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 291 translate% size of image (on paper, in 1/72inch coords)477.00000 211.96800 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 def477 212 8			% dimensions of data[477 0 0 -212 0 212]		% mapping matrixrlecmapimage7f017f017f015c017f017f017f015c017f017f017f015c017f017f017f015c017f017f017f015c017f017f017f015c017f017f017f015c017f017f017f015c017f017f017f015c017f017f017f015c017f017f017f015c017f017f017f015c017f017f017f015c017f017f017f015c017f017f017f015c017f017f017f015c017f017f017f015c017f017f017f015c017f017f017f015c017f017f017f015c017f017f017f015c017f017f017f015c017f017f017f015c017f017f017f015c017f017f017f015c011b017f037f037f0323031c011b017f037f037f0323031c011b017f032d0301050103010581030502058103050305810305030506030105050301050e03030581030503057f0334031c011b017f032d0301050103030501030305010303050103010505030105050301050d03010501030105810305820503058105037f0332031c011b017f032e030305810305810503810305020501030305010301050503010515030105040301058103058105037f0332031c011b017f032e03030581030581050381030502050103030501030105050301050403020501030105010301058103050205810305810503030301058103058105037f0332031c011b0101037f062506070301050103010501030605810305030506030105050301050103010501030305010303050403010581030581050304037f062706020002031c011b0101037f06250606030305810305810503810305040501030105090301050503010501030105010309050403010581030581050304037f062706010381000301031c011b01010301067f032a03030581030581050381030502058103058205030581050308030105050301050203030581030581050302030105040301058103058105037f032e0381000301031c011b01010301067f03290301050103030501030305010303050903010505030105020303058103058105030203010501030105810305820503058105037f032e0381000301031c011b01010301067f0329030105010301058103050205810305810503810305020509030505810305020502030105020303050103030581030503057f03300381000301031c011b01010301067f037f037f031b0381000301031c011b01010301067f037f037f031b0381000301031c011b01010301067f037f037f031b0381000301030b0010011b01010301067f037f037f031b0381000301030b0010011b01010301063d0381000301038300030003190381000357038100031103810003210381000311030100020301002403810003180302004b0381000301030b0010011b01010301063d03810003010383000300030a038100030c0381000336038100030903810003120381000311038100031003810003090381000302038100031003810003820300030103810003230381000307038100030d038100030103810003490381000301030b0010011b01010301063d03810003010383000300030a038100030c03810003360381000309038100031203810003110381000310038100030903810003020381000310038100030403810003230381000317038100030103810003490381000301030b0010011b01010301063d03810003010384000300030081000301030200010303000803030001030200070381000301038100038103000100010381000301038100030503810003010381000381030001000103820003008100038103000200070303000203020008030300010302000803020001030300020302000103810003010382000300020007030300010382000300810003010302000803810003040381000302030200010303000103030001038100030103810003060303008303000300810003010301000203810003010381000381030001000503810003490381000301030b0010011b01010301063d0386000300030003008100038203000303038100038203000308038100030103830003000301038100030503810003010383000300030103830003000301038100030503810003010381000303038200030081000382030003820300030903810003020381000301038100030503810003010383000300030103810003090383000300030103830003000301038300030003010381000382030003090381000302030100010383000300030103810003050303000303810003010381000301038300030003010383000300030103830003000301038100030503810003010382000300810003820300030103810003010381000301038300030003010381000302038100034a0381000301030b0010011b01010301063d038700030003000300030103810003810300020001038100030803810003010383000300030103810003050381000301038300030003010383000300030103810003050385000300030003810300020082030003010381000382030003090381000302038100030103810003050381000301038300030003010381000306030300820300030103830003000301038300030003010381000382030003090381000302038100030103820003000300070381000304038100030103810003010383000300030103830003000301038300030003010381000305038100030103830003000305038100030103810003010382000300030002038100034b0381000301030b0010011b01010301063d03870003000300030003010383000300030103810003820300030803810003010383000300030103810003050381000381030083000300030103830003000301038100030503870003000300030003010383000300030103810003820300030903810003020381000301038100030503810003010383000300030103810003050381000301038300030003010383000300030103830003000301038100038203000309038100030203810003010383000300030a03810003040381000301038100030103830003000301038300030003010383000300038103008100030503810003010383000300030503810003020383000300038203000305038100034b0381000301030b0010011b01010301063d038700030003000300030103830003000381030081000382030003820300030503810003010383000300030103810003060301008403000300030103830003000381030081000305038700030003000300038103008300030003010381000382030003820300030603810003840300030003010381000305038100030103830003000301038100030503810003810300830003000301038300030003010383000300038103008100038203000382030003060381000384030003000301038300030003010381000306038100030403810003010381000301038200030002000103030002030100820300030503810003010383000300030503810003020383000300038203000301038100034f0381000301030b0010011b01010301063e03830003000382030003010381000381030083000300030103010008030300010302000b0381000381030001000203010082030003060383000300030103010084030003000301038100030103010009030100020302000803030001030200080301008303000300020002030200020301008203000301030100090301000103810003010381000381030001000803810003030302000203020001038100030303810003070381000306030300820300030403020003038100030203020003038100034b0381000301030b0010011b01010301066d0381000301038100037f032103810003030381000303038100030103810003730381000301030b0010011b01010301066e0302007f032303810003030381000304030200750381000301030b0010011b01010301067f037f037f031b0381000301030b0010011b01010301067f037f037f031b0381000301030b0010011b01010301067f037f037f031b0381000301030b0010011b01010301067f037f037f031b0381000301030b0010011b01010301067f037f037f031b0381000301030b0010011b01010301067f037f037f031b0381000301030b0010011b010103010609037f007f007f0003000306090381000301030b0010011b010103010609038100037f037f037f0301030306090381000301030b0010011b010103010609038100037f037f037f0303030106090381000301030b0010011b010103010609038100037f037f037f0303030106090381000301030b0010011b010103010609038100037f037f037f0303030106090381000301030b0010011b010103010609038100037f037f037f0303030106090381000301030b0010011b010103010609038100037f037f037f0303030106090381000301030b0010011b01010301060903810003370305010b037f0133017f0305030106090381000301030b0010011b01010301060903810003370305010b037f0133017f0305030106090381000301030b0010011b0101030106090381000337030101010401010b030506250101064901010611010206010102061f017f0305030106090381000301030b0010011b010103010609038100033703810104010401010b0301010106270101060e010106270101060901010602010106100101068101068106018101068106011e017f0305030106090381000301030b0010011b010103010609038100033703030401010b03010101063801010627010106090101060201010610010106040101061f017f0305030106090381000301030b0010011b0101030106090381000337030101010401010b03010101060101010681010682060106810601810106810601050103060101040681010602060101020601010106810106810601050104060101030606010406010103068101068106018101060206810106820601060306060104068101068206010681060181010602060701010604010106020103068101068206010682060106820601068206010681060181010681060104017f0305030106090381000301030b0010011b0101030106090381000337030101010401010b0301010106010102068101060206010101060901030681010681060103010106010101060101020681010681060105010106020101060101010605010706010103060101040681010682060106810601080101060201020681010602060101010605010406020101060101010601010406810106030681010602060101010605017f0305030106090381000301030b0010011b0101030106090381000337030101010401010b0301010106010101060301010601010106060106068101068106018101060306010101060101010601010106060101060201010601010106050107060101030601010306010101068101068106010801010602010106010107060601010604010106010101060101030601010306010103060101010605017f0305030106090381000301030b0010011b0101030106090381000337030101010401010b030101010601010106030101068101060106050101060101010681010601060101010601010106010101060101010601010106060101060201010601010106050107060101030601010306010101068101068106010801010602010106010103060a01010604010106010101060101040681010603068101060206810106010605017f0305030106090381000301030b0010011b0101030106090381000337030101010401010b03010101060101010604010106810106810601040101068101060306030101068101060106010101060101010601010106060101

⌨️ 快捷键说明

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