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

📄 eg_settx.ps

📁 开放源码的编译器open watcom 1.6.0版的源代码
💻 PS
字号:
%!PS-Adobe-2.0 EPSF-1.2
%%Creator: CSG Graphics Screen Capture
%%EndComments

150 dict begin

/imageStr 128 string def                        % define char imageStr[ 128 ]
/imageChar 1 string def                         % define char imageChar[ 1 ]
/imageLen 0 def                                 % define int  imageLen
/imageRepChar 0 def                             % define int  imageRepChar

/NextData {
  currentfile imageChar readhexstring
  {
    /imageLen exch 0 get def
    imageLen 128 lt
      { imageStr 0 imageLen 1 add getinterval   % get substring of imageLen + 1
        currentfile exch readhexstring pop      % read imageLen+1 bytes in imageStr
      }
      { /imageLen 256 imageLen sub 1 add def    % imageLen := 256 - imageLen + 1
        currentfile imageChar readhexstring pop % read repeat char
        /imageRepChar exch 0 get def            % ...
        0 1 imageLen 1 sub {                    % fill imageStr with repeat char
          imageStr exch imageRepChar put        % ...
        } for                                   % ...
        imageStr 0 imageLen getinterval         % get substring of imageLen
      }
      ifelse
  } if
} def

/gPaint % Plot a graphics screen on a 300-dpi PostScript Device.
{
  pop                                           % pop off video mode
  /numYpixels exch def
  /numXpixels exch def
  /Ypixels exch def
  /Xpixels exch def
  /bitsPerPixel exch def
  /borderOn exch def

  /dotWidth 72 300 div def  % points per dot = PointsPI / DotsPI
  % decide on pixel size according to numXpixels & numYpixels
  numXpixels 720 eq
  { 2 3 }
  { numXpixels 640 eq
    { numYpixels 200 eq
      { 2 5 }
      { numYpixels 350 eq
        { 2 3 }
        { numYpixels 400 eq { 2 2 } { 2 2 } ifelse }
        ifelse
      }
      ifelse
    }
    { numXpixels 360 eq
      { 4 3 }
      { numXpixels 320 eq
        { numYpixels 200 eq
          { 4 5 }
          { numYpixels 350 eq { 4 3 } { 4 2 } ifelse }
          ifelse
        }
        { 2 2 }
        ifelse
      }
      ifelse
    }
    ifelse
  }
  ifelse
  /dotsPerYpixel exch def
  /dotsPerXpixel exch def

  % currentpoint is upper left of screen image.
  matrix currentmatrix    % Save the CTM

  % Set the CTM to translate to the lower left corner of the screen
  currentpoint
  transform  % Transform currentpoint to device coords
% initmatrix % Restore the default (initial) CTM
  itransform % get the current point under the new CTM

  % If enabled, draw the border
  borderOn 0 ne
  { /borderSize 9 def
    currentlinewidth 2 div borderSize neg rmoveto
    Xpixels dotsPerXpixel dotWidth mul mul
    Ypixels dotsPerYpixel dotWidth mul mul
    currentlinewidth sub
    exch currentlinewidth sub exch
    borderOn 1 eq
    { gsave
      borderSize 2 mul add exch borderSize 2 mul add exch
      dup neg 0 exch rlineto
      exch 0 rlineto
      0 exch rlineto
      closepath stroke
      grestore
    }
    { gsave
      /doASide { borderSize arcto pop pop pop pop } bind def
      borderSize add exch borderSize add exch
      0 borderSize neg rmoveto
      currentpoint 2 index sub 1 index 100 add 1 index doASide
      currentpoint exch 3 index add exch 1 index 1 index 100 add doASide
      currentpoint 2 index add 1 index 100 sub 1 index doASide
      currentpoint exch 3 index sub exch 1 index 1 index 100 sub doASide
      closepath stroke
      grestore
      pop pop
    }
    ifelse
    borderSize sub
    exch borderSize add exch
  }
  if
  9 sub

  Ypixels dotsPerYpixel dotWidth mul mul sub
  translate

  Xpixels dotsPerXpixel dotWidth mul mul
  Ypixels dotsPerYpixel dotWidth mul mul
  scale

  Xpixels
  Ypixels
  bitsPerPixel
  [Xpixels 0 0 Ypixels neg 0 Ypixels]
  { NextData }
  image
  setmatrix
} def

{ currentpoint }                            % check if currentpoint set
stopped                                     % if error is signalled..
{ 30 750 moveto }                           % ..then set to top left of page
{ pop pop } ifelse                          % ..else pop off coordinates

2 4 640 480 640 480 018 gPaint
81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff
81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff
81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff
81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff
81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff
81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff
81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff
81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff
81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff
81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff
81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff
81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff
81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff
81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ffdcff00f0ffff020fff0ffdff00f0fcff
fd00fcff01000ffcff01f00ffdff00f0feff000f81ff81ffecff00f0ffff020fff0ffdff00f0
faff000ffcff02f0fff0fcff010ff0fdff00f0feff000f81ff81ffecff00f0ffff020fff0f
fdff0000faff000ffcff000fffff000ffeff00f0ffff000ffeff01f00fffff000f81ff81ff
ecff05f0fff00fff0ffdffff0ffbff000ffcff000fffff000ffeff000fffff000ffeff04f0
0ffff00f81ff81ffebff000ffef0fcffff0ffbff000ffcff000fffff000ffeff000fffff00f0
feff04f00ffff00f81ff81ffebff000ffef0fcffff0ffbff000ffdff00f0faff000fffff00f0
feff04f00ffff00f81ff81ffebff000ffef0fdff02f0ff0ffbff000ffdff00f0faff000fffff
00f0fefffff002fff00f81ff81ffebff000ffef0fdff02f0ff0ffbff000ffdff00f0faff000f
ffff00f0fefffff002fff00f81ff81ffebffff0ffff0fdff02f0fff0fbff000ffdff00f0faff
000fffff00f0fefffff000ffff0f81ff81ffebffff0ffff0fdff02f0fff0fbff000ffdff00f0
faff000fffff00f0fefffff000ffff0f81ff81ffebffff0ffff0fdfffe00fbff000ffdff00f0
faff000fffff00f0feff01f0fffe0f81ff81ffebffff0ffff0fdff020ffff0fbff000ffcff
000ffbff000fffff00f0feff01f0fffe0f81ff81ffebff03f00fff0ffdff020ffff0fbff000f
fcff000fffff000ffeff000fffff00f0feff01f0fffe0f81ff81ffebff03f00fff0ffdff020f
fff0fbff000ffcff000fffff000ffeff00f0ffff000ffeff01f0fffe0f81ff81ffebff00f0
ffff000ffeff00f0feff000ffcff000ffcff00f0ffff000ffdff020fff0ffeff04f0fff0ff
0f81ff81ffebff00f0ffff000ffeff00f0feff000ffcff000ffcff02f0fff0fcff010ff0fdff
04f0fff0ff0f81ff81ffebff00f0ffff000ffeff00f0feff000ffcff000ffbff01000ffcff
01f00ffdff04f0fff0ff0f81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff
81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff
81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff
81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff
81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff
81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff
81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff
81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff
81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff
81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff
81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff
81ff81ff81ff81ff81ff81ffaaff01f00081ff81ffc3ff020fff0f81ff81ffc5ff00f0ffff
00f081ff81ffc5ff00f0ffff00f081ff81ffc5ff00f0ffff00f081ff81ffc5ff000f81ff81ff
c2ff000f81ff81ffc2ff000f81ff81ffc2ff000f81ff81ffc2ff000f81ff81ffc2ff030fff
f00081ff81ffc5ff00f0ffff00f081ff81ffc5ff00f0ffff00f081ff81ffc5ff00f0ffff00f0
81ff81ffc4ff020ffff081ff81ffc4ff020fff0f81ff81ffc4ff01f00081ff81ff81ff81ff
81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff
81ff81ff81ff81ff81ff81ff81ff81ff81ffc3ff020f000f81ff81ffc4ffff0f81ff81ffc3ff
000081ff81ffc2ff000081ff81ffc2ff000f81ff81ffc2ff000f81ff81ffc2ff000f81ff81ff
c2ff000f81ff81ffc2ff000f81ff81ffc2ff000f81ff81ffc2ff000f81ff81ffc2ff000f81ff
81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff
81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ffc2ff00f0ff0f81ff81ffc4ff020f
f00f81ff81ffc5ff00f0ffff000f81ff81ffc5ff00f0ffff000f81ff81ffc5ff00f0ffff000f
81ff81ffc5ff00f0ffff000f81ff81ffc5ff00f0ffff000f81ff81ffc5ff00f0ffff000f81ff
81ffc5ff00f0ffff000f81ff81ffc4ff020fff0f81ff81ffc4ff020ff00f81ff81ffc4ff00f0
ff0f81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff
81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ffc5fffff0000f81ff81ff
c4ff02f00ff081ff81ffc4ff00f0ffff000f81ff81ffc5ff00f0ffff000f81ff81ffc5ff00f0
ffff000f81ff81ffc5ff00f0ffff000f81ff81ffc5ff00f0ffff000f81ff81ffc5ff00f0ffff
000f81ff81ffc5ff00f0ffff000f81ff81ffc5ff02f0fff081ff81ffc4ff02f00ff081ff81ff
c4fffff0000f81ff81ffc4ff00f081ff81ffc2ff00f081ff81ffc2ff00f081ff81ffc2ff00f0
81ff81ffc2ff00f081ff81ff81ff81ff81ff81ff81ffc2ff00f081ff81ffc2ff00f081ff81ff
c2ff00f081ff81ffc2ff00f081ff81ffc2ff00f081ff81ffc2ff02f0ff0081ff81ffc4fffff0
01ff0f81ff81ffc5ff03f00fff0f81ff81ffc5ff00f0ffff000f81ff81ffc5ff00f0ffff000f
81ff81ffc5ff00f0ffff000f81ff81ffc5ff00f0ffff000f81ff81ffc5ff00f0ffff000f81ff
81ffc5ff00f0ffff000f81ff81ffc5ff00f0ffff000f81ff81ffc5ff00f0ffff000f81ff81ff
c5ff00f0ffff000f81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff
81ff81ffc3ff000f81ff81ffc3ff01f00f81ff81ffc2ff000f81ff81ff81ff81ff81ff81ff
81ff81ff81ff82ff000f81ff81ffc2ff000f81ff81ffc2ff000f81ff81ffc2ff000f81ff81ff
c2ff000f81ff81ffc2ff000f81ff81ffc2ff000f81ff81ffc2ff000f81ff81ffc2ff000f81ff
81ffc2ff000f81ff81ffc2ff000f81ff81ffc2ff000f81ff81ff81ff81ff81ff81ff81ff81ff
81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff
81ff81ff81ff81ff81ffc3ff01f00f81ff81ffc3ff010ff081ff81ffc4ff00f0ffff000f81ff
81ffc5ff00f081ff81ffc2ff00f081ff81ffc2ff00f081ff81ffc2ff00f081ff81ffc2ff00f0
81ff81ffc2ff00f0ffff000f81ff81ffc4ff020fff0f81ff81ffc4ff010ff081ff81ffc3ff
01f00f81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff
81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ffc3ff01f00081ff
81ffc3ff020fff0f81ff81ffc5ff00f0ffff000f81ff81ffc4ff000f81ff81ffc2ff000f81ff
81ffc2ff01f00081ff81ffc1ff000f81ff81ffc2ff000f81ff81ffc5ff00f0ffff000f81ff
81ffc5ff00f0ffff000f81ff81ffc4ff020fff0f81ff81ffc4ff01f00081ff81ff81ff81ff
81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff
81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff
81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff
81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff
81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff
81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff
81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff
81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff
81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff
81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff
81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff
81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ff81ffaaff
showpage
end

⌨️ 快捷键说明

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