📄 ray_density_tensor.eps
字号:
F } ddef } ifelse} def/f % - f -{ closepath F} def/S % - S -{ _pola 0 eq { _doClip 1 eq { gsave _ps grestore _eo {eoclip} {clip} ifelse newpath /_lp /none ddef _sc /_doClip 0 ddef } { _ps } ifelse } { /CRender { S } ddef } ifelse} def/s % - s -{ closepath S} def/B % - B -{ _pola 0 eq { _doClip 1 eq % F clears _doClip gsave F grestore { gsave S grestore _eo {eoclip} {clip} ifelse newpath /_lp /none ddef _sc /_doClip 0 ddef } { S } ifelse } { /CRender { B } ddef } ifelse} def/b % - b -{ closepath B} def/W % - W -{ /_doClip 1 ddef} def/* % - [string] * -{ count 0 ne { dup type /stringtype eq { pop } if } if % used to call newpath only if _polo was 0; now newpath is called unconditionally (bh 3/24/94) newpath} def% group operators/u % - u -{} def/U % - U -{} def/q % - q -{ _pola 0 eq { gsave } if} def/Q % - Q -{ _pola 0 eq { grestore } if} def/*u % - *u -{ _pola 1 add /_pola exch ddef} def/*U % - *U -{ _pola 1 sub /_pola exch ddef _pola 0 eq { CRender } if} def/D % polarized D -{ pop} def/*w % - *w -{} def/*W % - *W -{} def% place operators/` % matrix llx lly urx ury string ` -{ /_i save ddef% * special case of clipping forward without rendering % use 'nulldevice if true clipForward? { nulldevice } if 6 1 roll 4 npop concat pop userdict begin /showpage { } def 0 setgray 0 setlinecap 1 setlinewidth 0 setlinejoin 10 setmiterlimit [] 0 setdash /setstrokeadjust where {pop false setstrokeadjust} if newpath 0 setgray false setoverprint} def/~ % - ~ -{ end _i restore} def% color operators/O % flag O -{ 0 ne /_of exch ddef /_lp /none ddef} def/R % flag R -{ 0 ne /_os exch ddef /_lp /none ddef} def/g % gray g -{ /_gf exch ddef /_fc { _lp /fill ne { _of setoverprint _gf setgray /_lp /fill ddef } if } ddef /_pf { _fc _eo {eofill} {fill} ifelse } ddef /_psf { _fc ashow } ddef /_pjsf { _fc awidthshow } ddef /_lp /none ddef} def/G % gray G -{ /_gs exch ddef /_sc { _lp /stroke ne { _os setoverprint _gs setgray /_lp /stroke ddef } if } ddef /_ps { _sc stroke } ddef /_pss { _sc ss } ddef /_pjss { _sc jss } ddef /_lp /none ddef} def/k % cyan magenta yellow black k -{ _cf astore pop /_fc { _lp /fill ne { _of setoverprint _cf aload pop setcmykcolor /_lp /fill ddef } if } ddef /_pf { _fc _eo {eofill} {fill} ifelse } ddef /_psf { _fc ashow } ddef /_pjsf { _fc awidthshow } ddef /_lp /none ddef} def/K % cyan magenta yellow black K -{ _cs astore pop /_sc { _lp /stroke ne { _os setoverprint _cs aload pop setcmykcolor /_lp /stroke ddef } if } ddef /_ps { _sc stroke } ddef /_pss { _sc ss } ddef /_pjss { _sc jss } ddef /_lp /none ddef} def/x % cyan magenta yellow black name gray x -{ /_gf exch ddef findcmykcustomcolor /_if exch ddef /_fc { _lp /fill ne { _of setoverprint _if _gf 1 exch sub setcustomcolor /_lp /fill ddef } if } ddef /_pf { _fc _eo {eofill} {fill} ifelse } ddef /_psf { _fc ashow } ddef /_pjsf { _fc awidthshow } ddef /_lp /none ddef} def/X % cyan magenta yellow black name gray X -{ /_gs exch ddef findcmykcustomcolor /_is exch ddef /_sc { _lp /stroke ne { _os setoverprint _is _gs 1 exch sub setcustomcolor /_lp /stroke ddef } if } ddef /_ps { _sc stroke } ddef /_pss { _sc ss } ddef /_pjss { _sc jss } ddef /_lp /none ddef} def% locked object operator/A % value A -{ pop} def% annotate page operator/annotatepage{userdict /annotatepage 2 copy known {get exec} {pop pop} ifelse} def% object tag operator% joe holt November 20, 1994% /name (value) XT/XT { pop pop} def% begin layer PostScript implementation% general purpose discard loop% works on early level 1 (v.23, v.38) PostScript printers% version 0.02 04/03/93% Bill Woodruff% constraints :% if nested discards must be handled% then the begin and end delimiting% strings must be of equal length% arguments% #nestingFlag% #nestingFlag = 0 no nesting% #nestingFlag = 1 nesting% non-nested case% note : since the non-nested case is invoked% after the ocurrence of a beginning string% we only have to look for the ending string% it is not necessary to specify a beginning string% 0 (endString) % nested case% (beginString) 1 (endString) % the discard procedure is defined in the main dictionary% it turns the discard dictionary on to execute the discard function/discard{ % test for version, hash a key % get and execute the discard procedure from dictionary % execute it in a stopped context so we can bail with 'stop % wrap it in a save so we don't have to reset variables save /discardSave exch store discardDict begin /endString exch store gt38? { 2 add } if load stopped pop end discardSave restore} bind def% build the discard dictionary which will contain only proceduresuserdict /discardDict 7 dict dup beginput% pre 38 initialization/pre38Initialize{ % used as buffer size for reading by byte technique /endStringLength endString length store /newBuff buffer 0 endStringLength getinterval store % new buffer equal in length to end string /newBuffButFirst newBuff 1 endStringLength 1 sub getinterval store % pointer to from 2nd to last char in new buffer /newBuffLast newBuff endStringLength 1 sub 1 getinterval store % pointer to last char in new buffer} def% for <=38 /shiftBuffer{ % shift last chars of newBuff to start of newBuff newBuff 0 newBuffButFirst putinterval % new character into last byte of newBuff newBuffLast 0 currentfile read not { stop } if put} def% discard procedures% no nesting, older ps0{ pre38Initialize mark % fill the buffer currentfile newBuff readstring exch pop { { newBuff endString eq { cleartomark stop } if shiftBuffer } loop } { stop } ifelse} def% nesting, older ps1{ pre38Initialize /beginString exch store mark currentfile newBuff readstring exch pop { { newBuff beginString eq { /layerCount dup load 1 add store } { newBuff endString eq { /layerCount dup load 1 sub store layerCount 0 eq { cleartomark stop } if } if } ifelse shiftBuffer } loop } if} def% no nesting, newer ps2{ mark { % read a line : exit if end of file reached currentfile buffer readline not { stop } if % end of layer ? endString eq { cleartomark stop } if } loop} def% nesting, newer ps3{ /beginString exch store /layerCnt 1 store mark { % read a line : exit if end of file reached currentfile buffer readline not { stop } if % start of layer ? dup beginString eq { % update layer counter pop /layerCnt dup load 1 add store } { % end of layer ? endString eq { % stop if we're not nested layerCnt 1 eq { cleartomark stop } { % nested : decrement layer counter /layerCnt dup load 1 sub store } ifelse } if } ifelse } loop} def% end discard dictionaryend% define the dictionary for clipping without renderinguserdict /clipRenderOff 15 dict dup beginput% flag for marking this dictionary as active% so we can test in /` and wrap placed% elements in nulldevice% /clipForward? true def% re-define rendering primitives to clip and newpath% based on value of /_doClip flag{ /n /N /s /S /f /F /b /B}{ { _doClip 1 eq { /_doClip 0 ddef _eo {eoclip} {clip} ifelse } if newpath } def} forall% modify 'Tr so Tj and Tx are never set up by% the calls to 'a0, 'e0, etc./Tr /pop load def% special case of 'cshow ?% is so, we'll have to overload toplevels% /patternashow /patternawidthshow% /patternashowstroke% /patternawidthshowstroke% /ss /jss /sp /jsp% perhaps we can bracket out patterns at a higher level ?% for example, by modifying 'E to pop off its parameters% call to 'show in 'patternpath ?% calls to 'ashow in '_psf ?% calls to 'awidthshow in '_pjsf ?% calls to 'widthshow in '_jss and '_jsp ?% disable gradient operators/Bb {} def/BB /pop load def/Bg {12 npop} def/Bm {6 npop} def/Bc /Bm load def/Bh {4 npop} def% end dictionary for clipping without renderingend/Lb % visible preview enabled printing dimmed masks colorIndex red green blue ==> Lb{ 4 npop 6 1 roll pop 4 1 roll pop pop pop % #masks #printing % assume that % masks = 1 masks forward, masks = 0 no masking or only local masking % do the right thing for printing and masking layer 0 eq { % non-printing layer 0 eq { % no masking forward from this layer % nested discard call (%AI5_BeginLayer) 1 (%AI5_EndLayer--) discard } { % masking forward from this layer % no printing, but clip path must survive % set the clipForward? flag in the vars dict /clipForward? true def % redefine Tx and Tj in the vars dict /Tx /pop load def /Tj /pop load def % turn on the no rendering dictionary currentdict end clipRenderOff begin begin
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -