home *** CD-ROM | disk | FTP | other *** search
- %%BeginResource: procset pdflev15044
- %%Version: 5.0 11
- %%Copyright: Copyright 1987-2001 Adobe Systems Incorporated. All Rights Reserved.
- %%LanguageLevel: 1
- %%Title: PDF operators, Level 1, with emulated separations (TN 5044)
- /_ColorSep5044? true dd
- /docinitialize {
- PDF begin
- /_defaulthalftone
- /currenthalftone where
- { pop currenthalftone }
- { 4 dict dup begin
- currentscreen
- /SpotFunction exch def
- /Angle exch def
- /Frequency exch def
- /HalftoneType 1 def
- end }
- ifelse
- dd
- /currentcolortransfer where
- { pop /_defaultcolortransfer [ currentcolortransfer ] dd }
- { /_defaultcolortransfer [currenttransfer dup dup dup] dd }
- ifelse
- end
- } bd
- /initialize {
- /overprintstack null dd
- sep_ops begin
- 50 dict begin
- _defaulthalftone sethalftone
- } bd
- /terminate {
- end end
- } bd
- /currentcolortransfer where
- { pop }
- {
- /setcolortransfer
- {
- settransfer pop pop pop
- } bd
- } ifelse
- /pl {
- transform
- 0.25 sub round 0.25 add exch
- 0.25 sub round 0.25 add exch
- itransform
- } bd
- /m { _sa? { pl } if moveto } bd
- /l { _sa? { pl } if lineto } bd
- /c
- {
- _sa? {3 {pl 6 2 roll} repeat} if
- curveto
- } bd
- /ri/pop ld
- /setSA { /_sa? xdd } bd
- /re
- {
- _sa?
- {
- 8 dict begin
- /:h exch def
- /:w exch def
- /:y exch def
- /:x exch def
- :x :y pl
- /:ymin exch def /:xmin exch def
- :x :w add :y :h add pl
- /:ymax exch def /:xmax exch def
- :xmin :ymin moveto
- :xmax :ymin lineto
- :xmax :ymax lineto
- :xmin :ymax lineto
- closepath
- end
- }
- {
- 4 2 roll moveto
- 1 index 0 rlineto
- 0 exch rlineto
- neg 0 rlineto
- closepath
- } ifelse
- } bd
- /q
- {
- gsave
- [currentoverprint overprintstack] /overprintstack xdd
- }
- [/overprintstack] bld
- /Q
- {
- overprintstack aload pop /overprintstack xdd setoverprint
- grestore
- }
- [/overprintstack] bld
- /AlmostFull?
- { dup maxlength exch length sub 2 le
- } bd
- /Expand
- { 1 index maxlength mul cvi dict
- dup begin exch { def } forall end
- } bd
- /xput
- { 3 2 roll
- dup 3 index known not
- { dup AlmostFull? { 1.5 Expand } if
- } if
- dup 4 2 roll put
- } bd
- /defineRes
- { _categories 1 index known not
- { /_categories _categories 2 index 10 dict xput store
- } if
- _categories exch 2 copy get 5 -1 roll 4 index xput put
- } bd
- /findRes {
- _categories exch get exch get
- } bd
- /L1setcolor {
- aload length
- dup 0 eq
- { pop .5 setgray }
- { dup 1 eq
- { pop setgray }
- { 3 eq
- { setrgbcolor }
- { setcmykcolor }
- ifelse }
- ifelse }
- ifelse
- } bind dd
- /concattransferfuncs {
- [ 3 1 roll /exec load exch /exec load ] cvx
- } bd
- /concatandsettransfer {
- /_defaulttransfer load concattransferfuncs settransfer
- } bd
- /concatandsetcolortransfer {
- colorplate 0 eq
- {
- _defaultcolortransfer aload pop
- 8 -1 roll 5 -1 roll concattransferfuncs 7 1 roll
- 6 -1 roll 4 -1 roll concattransferfuncs 5 1 roll
- 4 -1 roll 3 -1 roll concattransferfuncs 3 1 roll
- concattransferfuncs
- setcolortransfer
- } if
- colorplate 1 ge colorplate 4 le and
- {
- 4 colorplate sub index 4 { exch pop } repeat
- concatandsettransfer
- } if
- colorplate 5 ge
- {
- 0 index 4 { exch pop } repeat
- concatandsettransfer
- } if
- } bd
- /tn5044sethalftone
- {
- begin
- HalftoneType 5 eq
- { [/Default /Cyan /Magenta /Yellow /Black /Default /Default /Default]
- colorplate get
- here not {
- /Default here not { currentdict } if
- } if
- }
- { currentdict }
- ifelse
- end
- begin
- /TransferFunction here
- {
- concatandsettransfer
- currentdict dup length dict
- begin
- {
- 1 index /TransferFunction ne { def } { pop pop } ifelse
- } forall
- currentdict
- end
- }
- {
- currentdict
- } ifelse
- end
- sethalftone
- } bd
- /paintimage
- {
- colorplate 0 eq
- {
- { {currentfile cyanstr readstring pop}
- {currentfile magentastr readstring pop}
- {currentfile yellowstr readstring pop}
- {currentfile blackstr readstring pop
- currentfile graystr readstring pop pop}
- }
- { {currentfile cyanstr readhexstring pop}
- {currentfile magentastr readhexstring pop}
- {currentfile yellowstr readhexstring pop}
- {currentfile blackstr readhexstring pop
- currentfile graystr readhexstring pop pop}
- } ifelse
- true 4 colorimage
- }
- {
- 3 dict begin
- /binaryOK exch def
- [
- 1 1 5 {
- dup
- /currentfile cvx
- [ /cyanstr /magentastr /yellowstr /blackstr /graystr ]
- 3 -1 roll 1 sub get cvx
- binaryOK { /readstring } { /readhexstring } ifelse cvx
- /pop cvx
- 5 -1 roll
- colorplate dup 5 gt { pop 5 } if
- eq not { /pop cvx } if
- } for
- ] cvx bind
- end
- [
- colorplate 6 eq {
- /pop cvx
- negativecolorplate { 0 } { 1 } ifelse
- } if
- colorplate 4 le
- {
- 1 /exch cvx /sub cvx
- } if
- colorplate 6 ne
- {
- systemdict /currenttransfer get exec
- aload pop
- } if
- ] cvx
- gsave
- systemdict /settransfer get exec
- systemdict /image get exec
- grestore
- } ifelse
- } bd
- /getrampcolor {
- /indx exch def
- 0 1 NumComp 1 sub {
- dup
- Samples exch get
- dup type /stringtype eq { indx get } if
- exch
- Scaling exch get aload pop
- 3 1 roll
- mul add
- } for
- setcolor
- } bd
- /GenStrips {
- 40 dict begin
- /background exch def
- /ext1 exch def
- /ext0 exch def
- /BBox exch def
- /y2 exch def
- /x2 exch def
- /y1 exch def
- /x1 exch def
- /rampdict exch def
- gsave
- BBox length 0 gt {
- BBox 0 get BBox 1 get
- BBox 2 get BBox 0 get sub
- BBox 3 get BBox 1 get sub
- rectclip
- } if
- x1 x2 eq
- {
- y1 y2 lt {/theta 90 def}{/theta 270 def} ifelse
- }
- {
- /slope y2 y1 sub x2 x1 sub div def
- /theta slope 1 atan def
- x2 x1 lt y2 y1 ge and { /theta theta 180 sub def} if
- x2 x1 lt y2 y1 le and { /theta theta 180 add def} if
- }
- ifelse
- gsave
- clippath
- x1 y1 translate
- theta rotate
- pathbbox
- /yMax exch def
- /xMax exch def
- /yMin exch def
- /xMin exch def
- grestore
- xMax xMin eq yMax yMin eq or
- {
- grestore
- end
- }
- {
- rampdict begin
- 20 dict begin
- background length 0 gt { background aload pop setcolor gsave clippath fill grestore } if
- gsave
- x1 y1 translate
- theta rotate
- /xStart 0 def
- /xEnd x2 x1 sub dup mul y2 y1 sub dup mul add 0.5 exp def
- /ySpan yMax yMin sub def
- /numsteps NumSamples def
- /rampIndxInc 1 def
- /subsampling false def
- xStart 0 transform
- xEnd 0 transform
- 3 -1 roll
- sub dup mul
- 3 1 roll
- sub dup mul
- add 0.5 exp 72 div
- 0 72 matrix defaultmatrix dtransform dup mul exch dup mul add sqrt
- 72 0 matrix defaultmatrix dtransform dup mul exch dup mul add sqrt
- 1 index 1 index lt { exch } if pop
- mul
- /numpix exch def
- numpix 0 ne
- {
- NumSamples numpix div 0.5 gt
- {
- /numsteps numpix 2 div round cvi dup 1 le { pop 2 } if def
- /rampIndxInc NumSamples 1 sub numsteps div def
- /subsampling true def
- } if
- } if
- ext0 {
- 0 getrampcolor
- xMin xStart lt
- { xMin yMin xMin neg ySpan rectfill } if
- } if
- /xInc xEnd xStart sub numsteps div def
- /x xStart def
- 0
- numsteps
- {
- dup
- subsampling { round cvi } if
- getrampcolor
- x yMin xInc ySpan rectfill
- /x x xInc add def
- rampIndxInc add
- }
- repeat
- pop
- ext1 {
- xMax xEnd gt
- { xEnd yMin xMax xEnd sub ySpan rectfill } if
- } if
- grestore
- grestore
- end
- end
- end
- } ifelse
- } bd
- /RadialShade {
- 40 dict begin
- /background exch def
- /ext1 exch def
- /ext0 exch def
- /BBox exch def
- /r2 exch def
- /c2y exch def
- /c2x exch def
- /r1 exch def
- /c1y exch def
- /c1x exch def
- /rampdict exch def
- gsave
- BBox length 0 gt {
- BBox 0 get BBox 1 get
- BBox 2 get BBox 0 get sub
- BBox 3 get BBox 1 get sub
- rectclip
- } if
- gsave
- clippath
- pathbbox
- /BByMax exch def
- /BBxMax exch def
- /BByMin exch def
- /BBxMin exch def
- grestore
- BBxMax BBxMin eq BByMax BByMin eq or
- {
- grestore
- end
- }
- {
- rampdict begin
- 20 dict begin
- background length 0 gt { background aload pop setcolor gsave clippath fill grestore } if
- /areaOfConcern
- BBxMin BByMin BBxMax BByMax
- BBxMin BByMin
- BBxMax BBxMin sub 0
- 0 BByMax BByMin sub
- BBxMin BBxMax sub 0
- 12 packedarray
- < 0B 00 01 04 04 04 0A>
- 2 packedarray
- def
- c1x c2x sub dup mul
- c1y c2y sub dup mul
- add 0.5 exp
- r1 add
- r2 sub
- abs
- 0 dtransform
- dup mul exch dup mul add 0.5 exp 72 div
- 0 72 matrix defaultmatrix dtransform dup mul exch dup mul add sqrt
- 72 0 matrix defaultmatrix dtransform dup mul exch dup mul add sqrt
- 1 index 1 index lt { exch } if pop
- /hires exch def
- hires mul
- /numpix exch def
- /numsteps NumSamples def
- /rampIndxInc 1 def
- /subsampling false def
- numpix 0 ne
- {
- NumSamples numpix div 0.5 gt
- {
- /numsteps numpix 2 div round cvi dup 1 le { pop 2 } if def
- /rampIndxInc NumSamples 1 sub numsteps div def
- /subsampling true def
- } if
- } if
- /xInc c2x c1x sub numsteps div def
- /yInc c2y c1y sub numsteps div def
- /rInc r2 r1 sub numsteps div def
- /cx c1x def
- /cy c1y def
- /radius r1 def
- newpath
- xInc 0 eq yInc 0 eq rInc 0 eq and and
- {
- 0 getrampcolor
- cx cy radius 0 360 arc
- stroke
- NumSamples 1 sub getrampcolor
- cx cy radius 72 hires div add 0 360 arc
- 0 setlinewidth
- stroke
- }
- {
- 0
- numsteps
- {
- dup
- subsampling { round cvi } if
- getrampcolor
- cx cy radius 0 360 arc
- /cx cx xInc add def
- /cy cy yInc add def
- /radius radius rInc add def
- cx cy radius 360 0 arcn
- eofill
- rampIndxInc add
- }
- repeat
- pop
- } ifelse
- grestore
- end
- end
- end
- } ifelse
- } bd
- %%EndResource
-