home *** CD-ROM | disk | FTP | other *** search
- %%BeginResource: procset pdflev2
- %%Version: 5.0 14
- %%Copyright: Copyright 1987-2001 Adobe Systems Incorporated. All Rights Reserved.
- %%LanguageLevel: 2
- %%Title: PDF operators, with code specific for Level 2
- /docinitialize {
- PDF begin
- /_defaulthalftone currenthalftone dd
- /_defaultblackgeneration currentblackgeneration dd
- /_defaultundercolorremoval currentundercolorremoval dd
- /_defaultcolortransfer [currentcolortransfer] dd
- /_defaulttransfer currenttransfer dd
- end
- PDFVars /docSetupDone true put
- } bd
- /initialize {
- PDFVars /docSetupDone get {
- _defaulthalftone sethalftone
- /_defaultblackgeneration load setblackgeneration
- /_defaultundercolorremoval load setundercolorremoval
- _defaultcolortransfer aload pop setcolortransfer
- } if
- false setoverprint
- } bd
- /terminate { } bd
- /c /curveto ld
- /cs /setcolorspace ld
- /l /lineto ld
- /m /moveto ld
- /q /gsave ld
- /Q /grestore ld
- /sc /setcolor ld
- /setSA/setstrokeadjust ld
- /re {
- 4 2 roll m
- 1 index 0 rlineto
- 0 exch rlineto
- neg 0 rlineto
- h
- } bd
- /concattransferfuncs {
- [ 3 1 roll /exec load exch /exec load ] cvx
- } bd
- /concatandsettransfer {
- /_defaulttransfer load concattransferfuncs settransfer
- } bd
- /concatandsetcolortransfer {
- _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
- } bd
- /defineRes/defineresource ld
- /findRes/findresource ld
- currentglobal
- true systemdict /setglobal get exec
- [/Function /ExtGState /Form /Shading /FunctionDictionary /MadePattern /PatternPrototype /DataSource /Image]
- { /Generic /Category findresource dup length dict copy /Category defineresource pop }
- forall
- systemdict /setglobal get exec
- /ri
- {
- /findcolorrendering isdefined?
- {
- mark exch
- findcolorrendering
- counttomark 2 eq
- { type /booleantype eq
- { dup type /nametype eq
- { dup /ColorRendering resourcestatus
- { pop pop
- dup /DefaultColorRendering ne
- {
- /ColorRendering findresource
- setcolorrendering
- } if
- } if
- } if
- } if
- } if
- cleartomark
- }
- { pop
- } ifelse
- } bd
- /knownColorants? {
- pop false
- } 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
- 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
- } 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
- 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
- ext0 {
- 0 getrampcolor
- r1 r2 eq c1x c2x eq and c1y c2y eq and
- {
- c1x c1y r1 0 360 arc fill
- }
- {
- r1 r2 lt
- {
- /backsteps r1 rInc div floor def
- /cx c1x xInc backsteps mul sub def
- /cy c1y yInc backsteps mul sub def
- /radius r1 rInc backsteps mul sub def
- newpath
- {
- cx cy radius 0 360 arc
- fill
- radius r1 ge { exit} if
- /radius radius rInc add def
- /cx cx xInc add def
- /cy cy yInc add def
- } loop
- }
- {
- /cx c1x def
- /cy c1y def
- /radius r1 def
- newpath
- {
- cx cy radius 360 0 arcn
- /cx cx xInc sub def
- /cy cy yInc sub def
- /radius radius rInc sub def
- cx cy radius 0 360 arc
- areaOfConcern ineofill not { exit } if
- eofill
- } loop
- } ifelse
- } ifelse
- } if
- /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
- ext1 {
- r2 r1 le
- {
- r2 r1 eq c1x c2x eq and c1y c2y eq and
- {
- c1x c1y r1 0 360 arc
- areaOfConcern uappend
- eofill
- }
- {
- {
- cx cy radius 0 360 arc
- areaOfConcern infill not { exit } if
- fill
- /radius radius rInc add def
- /cx cx xInc add def
- /cy cy yInc add def
- } loop
- } ifelse
- }
- {
- {
- 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
- areaOfConcern ineofill not { exit } if
- eofill
- } loop
- } ifelse
- } if
- grestore
- end
- end
- } ifelse
- } bd
- %%EndResource
-