home *** CD-ROM | disk | FTP | other *** search
-
- /_epsbbox 4 array def
- /_identmat matrix def
- /defaultobjectformat currentobjectformat def
- /sendpathbbox
- { systemdict begin
- gsave mark {{} settransfer} stopped
- {cleartomark true} {cleartomark false} ifelse grestore
- not
- { mark {currentpoint} stopped {cleartomark true} {cleartomark false} ifelse not
- { defaultobjectformat setobjectformat
- 1 0 printobject 0 1 printobject flush
- gsave
- _identmat setmatrix
- pathbbox _epsbbox astore {0 printobject} forall 0 1 printobject flush
- grestore
- } if
- } if
- end
- } hardbind def
-
- /fill {sendpathbbox newpath} hardbind def
- /eofill {sendpathbbox newpath} hardbind def
- /stroke {strokepath sendpathbbox newpath} hardbind def
- /ufill {gsave newpath uappend fill grestore} hardbind def
- /ueofill {gsave newpath uappend eofill grestore} hardbind def
- /ustroke
- { gsave newpath dup length 6 eq {exch uappend concat} {uappend} ifelse stroke grestore
- } hardbind def
- /__RectPath
- {4 2 roll moveto 1 index 0 rlineto 0 exch rlineto neg 0 rlineto closepath} hardbind def
- /__ProcessRectArgs
- { 1 index type /arraytype eq
- { exch 0 4 2 index length 1 sub
- {dup 3 add 1 exch{1 index exch get exch}for
- 5 1 roll 5 index exec
- }for pop pop
- }
- {exec}
- ifelse
- } hardbind def
- /rectfill
- { gsave newpath {__RectPath fill} __ProcessRectArgs grestore
- } hardbind def
- /rectstroke
- { gsave
- newpath dup type /arraytype eq
- {dup length 6 eq} {false} ifelse
- {{gsave __RectPath null concat stroke grestore}
- dup length array cvx copy dup 2 4 -1 roll put __ProcessRectArgs
- }
- {{__RectPath stroke} __ProcessRectArgs}
- ifelse
- grestore
- } hardbind def
-
- /_myFontDir 1 dict def
- /infindfont false def
- /findfont
- { /infindfont load
- {findfont}
- { /infindfont true store
- dup type /stringtype eq {dup length string copy cvn} if
- _myFontDir 1 index known
- {_myFontDir exch get}
- { dup findfont
- dup /tmsOrigFontName known not
- { fontdictcopy begin /tmsOrigFontName 1 index def
- /_myTemporaryFontName currentdict end definefont
- } if
- _myFontDir 3 -1 roll 2 index put
- } ifelse
- /infindfont false store
- } ifelse
- } hardbind def
- /definefont
- { 1 index type /stringtype eq {exch dup length string copy cvn exch} if
- dup /tmsOrigFontName known not
- { dup wcheck not {dup length 2 add dict copy} if
- begin /tmsOrigFontName 1 index def /markedbydefinefont true def currentdict end
- } if
- 1 index exch definefont _myFontDir 3 -1 roll 2 index put
- } hardbind def
- /selectfont
- { exch /findfont load exec exch
- dup type /arraytype eq {makefont} {scalefont} ifelse
- setfont
- } hardbind def
- /getCurrentFontName
- { currentfont dup /tmsOrigFontName known
- {/tmsOrigFontName get}
- {dup /FontName known {/FontName get} {pop /UnknownFont} ifelse}
- ifelse
- } bind def
-
- /tmpstring ( ) def
- /show
- { getCurrentFontName /sf ne
- { gsave
- true charpath
- sendpathbbox
- currentpoint
- grestore
- moveto
- }
- {show}
- ifelse
- } hardbind def
- /ashow
- { gsave
- /thestring exch def
- { 2 {pop} repeat tmpstring exch 0 exch put tmpstring true charpath
- 2 {1 index} repeat rmoveto
- } thestring cshow
- 2 {pop} repeat
- sendpathbbox
- currentpoint
- grestore
- moveto
- } hardbind def
- /widthshow
- { gsave
- /thestring exch def
- /_thechar exch def
- { 2 {pop} repeat dup tmpstring exch 0 exch put tmpstring true charpath
- _thechar eq {2 {1 index} repeat rmoveto} if
- } thestring cshow
- 2 {pop} repeat
- sendpathbbox
- currentpoint
- grestore
- moveto
- } hardbind def
- /awidthshow
- { gsave
- /thestring exch def
- 3 -1 roll
- /_thechar exch def
- { 2 {pop} repeat dup tmpstring exch 0 exch put tmpstring true charpath
- _thechar eq {2 {3 index} repeat rmoveto} if
- 2 {1 index} repeat rmoveto
- } thestring cshow
- 4 {pop} repeat
- sendpathbbox
- currentpoint
- grestore
- moveto
- } hardbind def
- /glyphshow {pop} hardbind def
- /kshowdict 6 dict def
- /kshow
- { gsave
- kshowdict begin
- /str exch def
- /proc exch def
- str length /strlen exch def
- /pos 0 def
- { 2 {pop} repeat dup tmpstring exch 0 exch put tmpstring true charpath
- /pos pos 1 add def pos strlen lt
- {str pos get /proc load end exec kshowdict begin} {pop} ifelse
- } str cshow
- pop
- sendpathbbox
- currentpoint
- grestore
- moveto
- } hardbind def
- /xshow
- { gsave
- 0 1 3 index length 1 sub
- { currentpoint 4 index 3 index 1 getinterval true charpath
- exch 3 index 3 index get add exch moveto pop
- } for
- pop pop
- sendpathbbox
- currentpoint
- grestore
- moveto
- } hardbind def
- /yshow
- { gsave
- 0 1 3 index length 1 sub
- { currentpoint 4 index 3 index 1 getinterval true charpath
- 3 index 3 index get add moveto pop
- } for
- pop pop
- sendpathbbox
- currentpoint
- grestore
- moveto
- } hardbind def
- /xyshow
- { gsave
- 0 1 3 index length 1 sub
- { currentpoint 4 index 3 index 1 getinterval true charpath
- 3 index 3 index 2 mul 1 add get add exch
- 3 index 3 index 2 mul get add exch moveto pop
- } for
- pop pop
- sendpathbbox
- currentpoint
- grestore
- moveto
- } hardbind def
-
- /sharedtmpimagedict 11 dict def
- /processImage
- { //sharedtmpimagedict begin
- dup type /dicttype eq
- { dup /MultipleDataSources known not {/MultipleDataSources false def} if
- {def} forall
- Decode length 2 idiv
- /ncomp exch def
- MultipleDataSources
- {ncomp}
- {/DataSource dup load [exch] def 1}
- ifelse
- /chans exch def
- }
- { /ImageType 1 def
- /ncomp exch def
- /MultipleDataSources exch def
- /Decode [0 1] def
- MultipleDataSources {ncomp} {1} ifelse /chans exch def
- /DataSource chans array def
- DataSource astore pop
- /ImageMatrix exch def
- /BitsPerComponent exch def /Height exch def /Width exch def
- } ifelse
- gsave
- ImageMatrix matrix invertmatrix concat 0 0 Width Height //rectfill exec
- grestore
-
- Width BitsPerComponent mul
- MultipleDataSources
- {1 sub 8 idiv 1 add ncomp mul}
- {ncomp mul 1 sub 8 idiv 1 add}
- ifelse
- Height mul
- /totbytes exch def
- { DataSource
- { exec dup length
- dup 0 eq {/totbytes 0 def pop pop exit} if
- /totbytes totbytes 2 index sub def
- pop pop
- }
- forall
- totbytes 0 le {exit} if
- }
- loop
- end
- } bind def
- /image {dup type /dicttype ne {true 1} if processImage} hardbind def
- /colorimage {processImage} hardbind def
- /alphaimage {1 add processImage} hardbind def
- /imagemask
- {dup type /dicttype ne {3 -1 roll pop 1 3 1 roll true 1} if processImage} hardbind def
- /showpage {} def
- /erasepage {} def
-
- %% nulldevice causes windowserver death
- 0 0 0 0 Nonretained window windowdeviceround
-