📄 recipe.eps
字号:
definefont pop
} bind def
%%EndProcSet
%%BeginProcSet : clip2pathbbox
/clip2pathbbox {
/magicNum linewidth 2 div 1 2 sqrt div mul def
pathbbox
/urymn exch magicNum add def
/urxmn exch magicNum add def
/llymn exch magicNum sub def
/llxmn exch magicNum sub def
newpath llxmn llymn moveto llxmn urymn lineto urxmn urymn lineto urxmn llymn lineto
closepath clip newpath
} bind def
%%EndProcSet
%% Line takes the following arguments:
%% linewidth xEnd yEnd xStart yStart
%%BeginProcSet : Line
/Line {
MAV /LC get length 0 ne
{
gsave
newpath
MAV /ArrowType get length 0 eq
MAV /SD get length 0 eq and
{2 setlinecap /UseClip {clip2pathbbox} def }
{0 setlinecap /UseClip {} def } ifelse
0 792 translate
1 -1 scale
CTM currentmatrix pop
/yStart exch def /xStart exch def /yEnd exch def /xEnd exch def /linewidth exch def
MAV /ArrowType get length 0 eq xStart xEnd ne yStart yEnd ne and and
{xStart yStart moveto xEnd yEnd lineto UseClip xStart yStart moveto xEnd yEnd lineto}
{xStart yStart moveto xEnd yEnd lineto} ifelse
linewidth setlinewidth SD strokepath
CheckPath {LC PF ArrowType} if
grestore
}
{pop pop pop pop pop} ifelse
} bind def
/CompensateForStroke {
sin currentlinewidth mul
exch
cos currentlinewidth mul
dup 0 translate
4 -1 roll exch 2.0 mul sub
3 1 roll
2.0 mul sub
} bind def
/arrowdict 10 dict def
arrowdict begin
/SwallowTail {
newpath
0.0 0.0 moveto
1.0 -.5 lineto
.666 0.0 lineto
1.0 .5 lineto
closepath
} bind def
/Triangular {
newpath
0.0 0.0 moveto
1.0 -.5 lineto
1.0 .5 lineto
closepath
} bind def
/OpenTri {
newpath
1.0 0.5 moveto
0.0 0.0 lineto
1.0 -0.5 lineto
} bind def
/ClosedTri {
newpath
1.0 0.5 moveto
0.0 0.0 lineto
1.0 -0.5 lineto
closepath
} bind def
/SlashBar {
newpath
0.5 -.5 moveto
-.5 0.5 lineto
} bind def
/Dot {
newpath
0.5 0.0 moveto
0 0 1 0 360 arc
closepath
} bind def
/ExtSlashBar {
newpath
1.0 -.5 moveto
0.0 0.5 lineto
} bind def
end
/ScaleArrowHead {
0 0 4 -2 roll
0 0 1 1
8 -4 roll GetBoxesRatio
scale
} bind def
/DrawArrowHead {
gsave
[] 0 setdash
currentpoint translate rotate
{
4 copy
gsave
initmatrix
100 200 translate
msave
ScaleArrowHead pop
arrowdict exch get exec
mrestore
strokepath
0 0 3 index 3 index
pathbbox 8 4 roll
GetBoxesRatio
4 2 roll
grestore
3 index 1.0 exch sub
6 -1 roll
{
2 index mul
0 translate
}{
pop
} ifelse
msave
ScaleArrowHead scale
arrowdict exch get exec
mrestore
strokepath
} {
msave
ScaleArrowHead
arrowdict exch get exec
mrestore
} ifelse
CheckPath {
LC PF
} if
grestore
} bind def
%%EndProcSet
%%BeginProcSet : SR
/SR {
pbox left get pbox top get moveto
pbox right get pbox top get lineto
pbox right get pbox bottom get lineto
pbox left get pbox bottom get lineto
closepath
} bind def
%%EndProcSet
%%BeginProcSet : RR1
/RR1 {
pbox top get pbox bottom get sub abs 2 div dup dup dup
pbox left get add pbox left 3 -1 roll put
pbox right get exch sub pbox right 3 -1 roll put
pbox left get pbox bottom get moveto
pbox right get 0 3 -1 roll 90 -90 arcn
pbox left get 0 3 -1 roll -90 90 arcn closepath
} bind def
%%EndProcSet
%%BeginProcSet : RR2
/RR2 {
dup dup dup dup dup dup dup dup
pbox top get add pbox top 3 -1 roll put
pbox left get add pbox left 3 -1 roll put
pbox bottom get exch sub pbox bottom 3 -1 roll put
pbox right get exch sub pbox right 3 -1 roll put
pbox bottom get add pbox left get exch moveto
pbox right get pbox bottom get 3 -1 roll 90 0 arcn
pbox right get pbox top get 3 -1 roll 0 270 arcn
pbox left get pbox top get 3 -1 roll 270 180 arcn
pbox left get pbox bottom get 3 -1 roll 180 90 arcn closepath
} bind def
%%EndProcSet
%%BeginProcSet : E
/E {
1.415 setmiterlimit
CM currentmatrix pop
pbox right get pbox left get sub abs dup
pbox bottom get pbox top get sub abs dup 3 -1 roll
lt {exch dup 3 -1 roll exch div 1 exch}
{dup 3 -1 roll exch div 1} ifelse scale
0 0 3 -1 roll 2 div 0 360 arc closepath
CM setmatrix
} bind def
%%EndProcSet
%%BeginProcSet : A1
/A1 {msave
pbox right get pbox left get sub abs dup
pbox bottom get pbox top get sub abs dup 3 -1 roll
lt {exch dup 3 -1 roll exch div 1 exch}
{dup 3 -1 roll exch div 1} ifelse scale
0 0 3 -1 roll 2 div 5 -1 roll -90 add 5 -1 roll -90 add arcn
mrestore} bind def
%%EndProcSet
%%BeginProcSet : A2
/A2 {msave 0 0 moveto A1 closepath mrestore} def
%%EndProcSet
/StripFromFront {
dup length
2 index sub
3 1 roll
exch 3 -1 roll
getinterval
} bind def
/MakePathArray {
/k 0 def
{/k k 1 add def pop pop}{/k k 1 add def pop pop}{/k k 1 add def pop pop pop pop pop pop}{/k k 1 add def }pathforall
k array
/k 0 def
{{moveto} 3 array astore 1 index k 3 -1 roll put /k k 1 add def}
{{lineto} 3 array astore 1 index k 3 -1 roll put /k k 1 add def}
{{curveto} 7 array astore 1 index k 3 -1 roll put /k k 1 add def}
{{closepath} 1 array astore 1 index k 3 -1 roll put /k k 1 add def}
pathforall
}bind def
/MakeFlatPathArray {
/k 0 def
{/k k 1 add def pop pop}{/k k 1 add def pop pop}{pop pop pop pop pop pop}{}pathforall
k array
/k 0 def
{{moveto} 3 array astore 1 index k 3 -1 roll put /k k 1 add def}
{{lineto} 3 array astore 1 index k 3 -1 roll put /k k 1 add def}
{ pop pop pop pop pop pop}
{}
pathforall
}bind def
/FractionalLine {
2 index sub
.00001 mul
exch
3 index sub
.00001 mul
4 -1 roll add
3 1 roll
add
} bind def
/calcLineLength {
exch
4 -1 roll
sub
dup mul
3 1 roll exch
sub
dup mul
add sqrt
} bind def
/InitTotalLineLength {
/oldY exch def
/oldX exch def
theDash aload pop currentLineLength add setdash
} bind def
/AccumeLineLength {
3 copy pop
2 copy
oldX oldY
4 2 roll calcLineLength
/segmentLength exch def
/currentLineLength currentLineLength segmentLength add def
/oldY exch def
/oldX exch def
} bind def
/DecumeLastLineLength {
/currentLineLength currentLineLength segmentLength sub def
} bind def
/DrawFlattendSegment {
/pointCount 2 def
dup 0 lt { pop 0 } if
fpc
3 1 roll
2 index
1 index
gt {
2 copy get
dup length
dup 3 eq {
pop
dup 0 get
exch 1 get
2 copy InitTotalLineLength
m
} {
} ifelse
} {
pop 1 index
} ifelse
dup 1 add
3 index
exch sub
dup 10 gt { pop 10} if
{
1 add
2 copy
get aload pop
AccumeLineLength
exec
} repeat
3 1 roll pop pop
DecumeLastLineLength
} bind def
/IncFPC {
fpc add
/fpc exch def
} bind def
/DrawFlatPathArray {
fpc
0 {
dup 2 index
1 sub
lt {
flatPathArray exch
newpath
1 sub DrawFlattendSegment
gsave
pathSegProc
grestore
newpath
}
{
pop pop
exit
} ifelse
} loop
} bind def
/RecordFirstSubSegment {
closepathArray 0 pathArray 0 get
put
closepathArray 1
pathArray 0 get aload pop pop
pathArray 1 get dup length 3 eq {
aload pop pop
} {
newpath
0 0 moveto
aload pop exec
/segmentArray flattenpath MakeFlatPathArray def
segmentArray 1 get aload pop pop
} ifelse
FractionalLine {lineto} 3 array astore
put
} bind def
/AppendClosePath {
closepathArray 0 get 2 {lineto} put
flatPathArray fpc closepathArray 0 get put
1 IncFPC
flatPathArray fpc closepathArray 1 get put
1 IncFPC
} bind def
/RecordCurrentDash {
/theDash
currentdash 2 array astore def
/currentLineLength 0 def
} bind def
/PatternStroke {
0 setlinecap
RecordCurrentDash
/saveFlat currentflat def
.5 setflat
/pathArray MakePathArray def
/closepathArray 2 array def
/pathLength pathArray length def
/flatPathArray 513 array def
/currentLineLength 0 def
/fpc 0 def
pathArray pathLength 1 sub get
length 1 eq {
/usingClosepath true def
RecordFirstSubSegment
/pathLength pathLength 1 sub def
} {
/usingClosepath false def
} ifelse
0 1 pathLength 1 sub {
pathArray exch get
dup length 3 eq {
fpc 1 add 512 ge {
DrawFlatPathArray
fpc 2 ge {
flatPathArray flatPathArray fpc 2 sub get 0 put
flatPathArray flatPathArray fpc 1 sub get 1 put
/fpc 2 def
}{
/fpc 0 def
} ifelse
} if
flatPathArray exch fpc exch put
1 IncFPC
} {
dup length 7 eq {
newpath
/nToStrip 0 def
fpc 1 gt {
flatPathArray fpc 2 sub get aload pop pop m
flatPathArray fpc 1 sub get aload pop exec
/nToStrip 2 def
} {
fpc 1 eq {
flatPathArray fpc 1 sub get aload pop exec
/nToStrip 2 def
} if
} ifelse
aload pop exec
/segmentArray flattenpath MakeFlatPathArray def
/segmentArray nToStrip segmentArray StripFromFront def
segmentArray length fpc add 512 lt {
flatPathArray fpc segmentArray putinterval
segmentArray length IncFPC
} {
DrawFlatPathArray
fpc 1 gt {
flatPathArray flatPathArray fpc 2 sub get 0 exch put
flatPathArray flatPathArray fpc 1 sub get 1 exch put
/fpc 2 def
}{
/fpc 0 def
} ifelse
segmentArray length 512 lt {
flatPathArray fpc segmentArray putinterval
segmentArray length IncFPC
} {
segmentArray length
/exitLoop false def
0
{
2 copy sub
dup 500 gt {
pop 500
} {
/exitLoop true def
} ifelse
segmentArray 2 index 2 index getinterval
flatPathArray fpc 3 -1 roll putinterval
dup IncFPC
add
exitLoop {
exit
} {
DrawFlatPathArray
fpc 1 gt {
flatPathArray flatPathArray fpc 2 sub get 0 exch put
flatPathArray flatPathArray fpc 1 sub get 1 exch put
/fpc 2 def
}{
/fpc 0 def
} ifelse
} ifelse
} loop
} ifelse
} ifelse
} if
} ifelse
} for
fpc 0 gt {
usingClosepath {
AppendClosePath
} if
DrawFlatPathArray
} if
saveFlat setflat
} bind def
%%BeginProcSet : rampdelta
/rampdelta {
/len 0 3 -1 roll add def
/i2 0 3 -1 roll add def
/i1 0 3 -1 roll add def
/nRampSteps len cellPenW div cvi 1 add dup 512 gt {pop 512} if def
/rampPenW len nRampSteps div def
rampColors i1 get aload pop c1 astore pop
rampColors i2 get aload pop c2 astore pop
c2 0 get c1 0 get sub nRampSteps div d 0 3 -1 roll put
c2 1 get c1 1 get sub nRampSteps div d 1 3 -1 roll put
c2 2 get c1 2 get sub nRampSteps div d 2 3 -1 roll put
d aload pop
} bind def
%%EndProcSet
%%BeginProcSet : adddelta
/adddelta {
d astore pop
mycurrentrgbcolor c1 copy pop
c1 0 get d 0 get add c2 0 3 -1 roll put
c1 1 get d 1 get add c2 1 3 -1 roll put
c1 2 get d 2 get add c2 2 3 -1 roll put
c2 aload pop setrgbcolor
c2 mycurrentrgbcolor copy pop
} bind def
%%EndProcSet
%%BeginProcSet : rampline
/rampline {
segbox ulx get rampPenW add segbox ulx 3 -1 roll put
segbox llx get rampPenW add segbox llx 3 -1 roll put
segbox ulx get segbox uly get moveto
segbox llx get segbox lly get lineto
delta aload pop adddelta stroke
}bind def
%%EndProcSet
%%BeginProcSet : slantrampseg
/slantrampseg {
gsave newpath
segbox ulx get segbox urx get sub abs
rampdelta delta astore pop
segbox ulx get rampPenW .5 mul sub segbox ulx 3 -1 roll put
segbox llx get rampPenW .5 mul sub segbox llx 3 -1 roll put
rampColors exch get aload mycurrentrgbcolor copy pop setrgbcolor
rampPenW setlinewidth nRampSteps {rampline} repeat
grestore
}bind def
%%EndProcSet
%%BeginProcSet : flipramp
/flipramp {
rampColors 0 get rampColors 3 get rampColors 0 3 -1 roll put rampColors 3 3 -1 roll put
rampColors 1 get rampColors 2 get rampColors 1 3 -1 roll put rampColors 2 3 -1 roll put
} bind def
%%EndProcSet
%%BeginProcSet : leftrbox
/leftrbox {
rbox segbox copy pop
rbox urx get rbox ulx get sub
flipRatio mul dup
segbox ulx get add segbox urx 3 -1 roll put
segbox llx get add segbox lrx 3 -1 roll put
} bind def
%%EndProcSet
%%BeginProcSet : rightrbox
/rightrbox {
rbox segbox copy pop
rbox urx get rbox ulx get sub
flipRatio mul dup
segbox ulx get add segbox ulx 3 -1 roll put
segbox llx get add segbox llx 3 -1 roll put
} bind def
%%EndProcSet
%%BeginProcSet : drawslantramp
/drawslantramp {
segbox urx get segbox ulx get sub 3 div dup dup dup dup dup dup dup dup dup
segbox ulx get add segbox urx 3 -1 roll put
segbox llx get add segbox lrx 3 -1 roll put
segbox aload pop
0 0 1 slantrampseg
segbox astore pop
segbox ulx get add segbox ulx 3 -1 roll put
segbox llx get add segbox llx 3 -1 roll put
segbox urx get add segbox urx 3 -1 roll put
segbox lrx get add segbox lrx 3 -1 roll put
segbox aload pop
1 1 2 slantrampseg
segbox astore pop
segbox ulx get add segbox ulx 3 -1 roll put
segbox llx get add segbox llx 3 -1 roll put
segbox urx get add segbox urx 3 -1 roll put
segbox lrx get add segbox lrx 3 -1 roll put
2 2 3 slantrampseg
}bind def
%%EndProcSet
%%BeginProcSet : tan
/tan {
dup sin exch cos div
}bind def
%%EndProcSet
%%BeginProcSet : rampbox
/rampbox {
pbox top get dup rbox uly 3 -1 roll put rbox ury 3 -1 roll put
pbox left get dup rbox ulx 3 -1 roll put rbox llx 3 -1 roll put
pbox bottom get dup rbox lly 3 -1 roll put rbox lry 3 -1 roll put
pbox right get dup rbox urx 3 -1 roll put rbox lrx 3 -1 roll put
}bind def
%%EndProcSet
%%BeginProcSet : rampbox
/LoadSegBox {
4 copy
segbox llx 6 -1 roll put
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -