home *** CD-ROM | disk | FTP | other *** search
- %%BeginResource: procset pdf
- %%Version: 5.0 6
- %%Copyright: Copyright 1998-2001 Adobe Systems Incorporated. All Rights Reserved.
- %%Title: General operators for PDF, common to all Language Levels.
- /cm { matrix astore concat } bd
- /d /setdash ld
- /f /fill ld
- /h /closepath ld
- /i {dup 0 eq {pop _defaultflatness} if setflat} bd
- /j /setlinejoin ld
- /J /setlinecap ld
- /M /setmiterlimit ld
- /n /newpath ld
- /S /stroke ld
- /w /setlinewidth ld
- /W /clip ld
- /initgs {
- 0 setgray
- [] 0 d
- 0 j
- 0 J
- 10 M
- 1 w
- false setSA
- /_defaulttransfer load settransfer
- 0 i
- /RelativeColorimetric ri
- newpath
- } bd
- /int {
- dup 2 index sub 3 index 5 index sub div 6 -2 roll sub mul
- exch pop add exch pop
- } bd
- /limit {
- dup 2 index le { exch } if pop
- dup 2 index ge { exch } if pop
- } bd
- /domainClip {
- Domain aload pop 3 2 roll
- limit
- } [/Domain] bld
- /applyInterpFunc {
- 0 1 DimOut 1 sub
- {
- dup C0 exch get exch
- dup C1 exch get exch
- 3 1 roll
- 1 index sub
- 3 index
- N exp mul add
- exch
- currentdict /Range_lo known
- {
- dup Range_lo exch get exch
- Range_hi exch get
- 3 2 roll limit
- }
- {
- pop
- }
- ifelse
- exch
- } for
- pop
- } [/DimOut /C0 /C1 /N /Range_lo /Range_hi] bld
- /encodeInput {
- NumParts 1 sub
- 0 1 2 index
- {
- dup Bounds exch get
- 2 index gt
- { exit }
- { dup
- 3 index eq
- { exit }
- { pop } ifelse
- } ifelse
- } for
- 3 2 roll pop
- dup Bounds exch get exch
- dup 1 add Bounds exch get exch
- 2 mul
- dup Encode exch get exch
- 1 add Encode exch get
- int
- } [/NumParts /Bounds /Encode] bld
- /rangeClip {
- exch dup Range_lo exch get
- exch Range_hi exch get
- 3 2 roll
- limit
- } [/Range_lo /Range_hi] bld
- /applyStitchFunc {
- Functions exch get exec
- currentdict /Range_lo known {
- 0 1 DimOut 1 sub {
- DimOut 1 add -1 roll
- rangeClip
- } for
- } if
- } [/Functions /Range_lo /DimOut] bld
- /pdf_flushfilters
- {
- aload length
- { dup status
- 1 index currentfile ne and
- { dup flushfile closefile }
- { pop }
- ifelse
- } repeat
- } bd
- /pdf_readstring
- {
- 1 index dup length 1 sub get
- exch readstring pop
- exch pdf_flushfilters
- } bind def
- /pdf_dictOp
- {
- 3 2 roll
- 10 dict copy
- begin
- _Filters dup length 1 sub get def
- currentdict exch exec
- _Filters pdf_flushfilters
- end
- } [/_Filters] bld
- /pdf_image {{image} /DataSource pdf_dictOp} bd
- /pdf_imagemask {{imagemask} /DataSource pdf_dictOp} bd
- /pdf_shfill {{sh} /DataSource pdf_dictOp} bd
- /pdf_sethalftone {{sethalftone} /Thresholds pdf_dictOp} bd
- /pdf_maskedImage
- {
- 10 dict copy begin
- /miDict currentdict def
- /DataDict DataDict 10 dict copy def
- DataDict begin
- /DataSource
- _Filters dup length 1 sub get
- def
- miDict image
- _Filters pdf_flushfilters
- end
- end
- } [/miDict /DataDict /_Filters] bld
- %%EndResource
-