?? prolog.eps
字號:
%!PS-Adobe-3.0 EPSF-2.0%%Creator: David Neto, directly and indirectly%%BoundingBox: 0 0 180 180%%Pages: 1%%Page: 1 1% The EPS file must end with "end grestore %EOF"gsave 100 dict begin % Create a local scope for a few definitions /drawnumberlabels false def/numberlabel 1 def/dotsize 1 def % 1 pt radius/size 7.75 72 mul def % 7.75 inch square bounding box/hoffset 8.5 72 mul size sub 2 div def/voffset 9 72 mul size sub def % Remember the title/rightmargin 7.5 72 mul def/leftmargin 1 72 mul def/fontheight 14 def % this can change/squeezefactor 1 def % Make this smaller to fit frame better/makeepsf { /dotsize .2 def /size 2.5 72 mul def /hoffset 0 def /voffset 0 def gsave % Draw a thin border 0 setlinewidth 0 0 moveto size 0 lineto size size lineto 0 size lineto closepath stroke grestore} defmakeepsf/x { % x -- scaledx xmin sub xoffset add maxrange div size mul squeezefactor mul 1 squeezefactor sub size 2 div mul add hoffset add} def/y { % y -- scaledy ymin sub yoffset add maxrange div size mul squeezefactor mul 1 squeezefactor sub size 2 div mul add voffset add} def/dot { % x y -- % Put a dot at this position dotsize 0 360 arc fill } def/circle { % x y -- % Put a circle at this position gsave 0 setlinewidth dotsize .5 add 0 360 arc stroke grestore} def/bigdot { % i -- 1 add dup % 1+i 1+i xs exch get exch % x 1+i ys exch get % x y % Put a big dot at this position 5 0 360 arc stroke % 5pt * scalingfactor radius} def/bigbigdot { % i -- 1 add dup % 1+i 1+i xs exch get exch % x 1+i ys exch get % x y % Put a big big dot at this position 7 0 360 arc stroke % 7pt * scalingfactor radius} def/label { % string i -- 1 add dup % s 1+i 1+i xs exch get exch % s x 1+i ys exch get % s x y moveto -45 rotate show 45 rotate} def/labelall { 0 1 N 1 sub { dup ( ) cvs exch label } for} def/shownode { % i x y -- y exch x exch dot pop} def% Draw a bounding box/boundingbox { % -- newpath xmin x ymin y moveto xmax x ymin y lineto xmax x ymax y lineto xmin x ymax y lineto closepath stroke} def/s { % i xcoord ycoord -- ys % i xcoord ycoord ys 3 index % i xcoord ycoord ys i 3 -1 roll % i xcoord ys i ycoord y % i xcoord ys i transformedy put % i xcoord x % i transformedx xs % i transformedx xs 3 1 roll % xs i transformedx put % } def/sfcs { % i xcoord ycoord -- s} def/ts { % raw-x raw-y -- % Draw dot at transformed x and y drawnumberlabels { % Should we draw labels too? y exch x exch 1 index 1 index dot gsave % /Helvetica 10 findfont scalefont setfont moveto numberlabel ( ) cvs ( ) show show /numberlabel numberlabel 1 add def grestore } { y exch x exch dot } ifelse} def/rawedge { % x1 y1 x2 y2 -- % draw an edgefrom finalx to finaly newpath moveto lineto stroke} def/ue { % ux1 uy1 ux2 uy2 -- % draw an edge from point (x1,y1) to (x2,y2) % The coordinates are given in untransformed versions. y 4 1 roll x 4 1 roll y 4 1 roll x 4 1 roll rawedge} def /edge { % i j -- /j exch 1 add def /i exch 1 add def xs i get ys i get xs j get ys j get rawedge} def/inedge { % i j -- gsave 8 setlinewidth 0.2 setgray edge grestore } def/outedge { % i j -- gsave 8 setlinewidth 0.8 setgray edge grestore } def/drawcities { 1 1 N { dup xs exch get exch ys exch get dot } for} def/Helvetica findfont 5 scalefont setfont/title { % string -- gsave 72 9.8 72 mul moveto /Helvetica findfont 24 scalefont setfont show grestore} def% Display the comment below the title, and wrap it too./comment { % string -- 1 dict begin /str exch def gsave 72 9.5 72 mul moveto /Helvetica findfont 14 scalefont setfont fontheight /fontheight 14 def str wrapshow /fontheight exch def grestore end} def% Wrap if beyond the right margin./maybewrap { % -- currentpoint exch rightmargin ge % ypos bool -- { fontheight sub leftmargin exch moveto } % Wrap to next line { pop } ifelse} def/wrapshow { % string -- 1 dict begin /onecharstr ( ) def % string -- { % char-value -- dup 32 eq { maybewrap } if % Wrap only on word boundaries. onecharstr exch 0 exch put % Stuff the character into a new string. onecharstr show % Then print it. } forall end} defnewpath% FILE-SPECIFIC HERE
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -