home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1999 August
/
PCWorld_1999-08_cd.bin
/
Novinky
/
adobe
/
Instal
/
archive.z
/
AIRes.dll
/
TEXT
/
1024
< prev
next >
Wrap
Text File
|
1998-10-05
|
7KB
|
314 lines
%%BeginResource: procset Adobe_shading_AI8 1.0 0
%%Title: (Adobe Illustrator 8 Shading Procset)
%%Version: 1.0 0
%%CreationDate: (12/17/97) ()
%%Copyright: ((C) 1987-1997 Adobe Systems Incorporated All Rights Reserved)
userdict /defaultpacking currentpacking put true setpacking
userdict /Adobe_shading_AI8 10 dict dup begin put
/initialize {
Adobe_shading_AI8 begin
Adobe_shading_AI8 bdprocs
Mesh /initialize get exec
} def
/terminate {
currentdict Adobe_shading_AI8 eq {
end
} if
} def
/bdprocs {
{
dup xcheck 1 index type /arraytype eq and {
bind
} if
pop pop
} forall
} def
/X! {pop} def
/X# {pop pop} def
/Mesh 40 dict def
Mesh begin
/initialize {
Mesh bdprocs
Mesh begin
/emulate? /AI8MeshEmulation where {
pop AI8MeshEmulation
}{
systemdict /shfill known not
} ifelse def
end
} def
/bd {
shadingdict begin
} def
/paint {
emulate? {
end
}{
/_lp /none ddef _fc /_lp /none ddef
/AIColorSpace AIColorSpace tocolorspace store
/ColorSpace AIColorSpace topsspace store
version_ge_3010.106 not systemdict /setsmoothness known and {
0.0001 setsmoothness
} if
composite? {
/DataSource getdatasrc def
Matrix concat
currentdict end
shfill
}{
AIColorSpace makesmarks AIPlateList markingplate and not isoverprint and {
end
}{
/ColorSpace /DeviceGray store
/Decode [0 1 0 1 0 1] store
/DataSource getplatesrc def
Matrix concat
currentdict end
shfill
} ifelse
} ifelse
} ifelse
} def
/shadingdict 12 dict def
shadingdict begin
/ShadingType 6 def
/BitsPerCoordinate 16 def
/BitsPerComponent 8 def
/BitsPerFlag 8 def
end
/datafile null def
/databuf 256 string def
/dataptr 0 def
/srcspace null def
/srcchannels 0 def
/dstchannels 0 def
/dstplate 0 def
/srctodstcolor null def
/getplatesrc {
/srcspace AIColorSpace store
/srcchannels AIColorSpace getnchannels store
/dstchannels 1 store
/dstplate getplateindex store
/srctodstcolor srcspace makesmarks {
dstplate 4 eq {
{1 exch sub}
}{
{srcspace tocmyk 3 dstplate sub index 1 exch sub 5 1 roll 4 {pop} repeat}
} ifelse
}{
{srcchannels {pop} repeat 1}
} ifelse store
/datafile getdatasrc store
/rdpatch168 load DataLength () /SubFileDecode filter
} def
/getdatasrc {
/rdcmntline load /ASCII85Decode filter
} def
/rdpatch168 {
/dataptr 0 store
49 rdcount
4 {
dup {pop srcchannels getint8} if
dup {pop srctodstcolor dstchannels putint8 true} if
} repeat
{databuf 0 dataptr getinterval}{()} ifelse
} def
/rdpatch3216 {
/dataptr 0 store
97 rdcount
4 {
dup {pop srcchannels getint16} if
dup {pop srctodstcolor dstchannels putint16 true} if
} repeat
{databuf 0 dataptr getinterval}{()} ifelse
} def
/rdcount {
dup 0 gt {
datafile databuf dataptr 4 -1 roll getinterval readstring
exch length dataptr add /dataptr exch store
}{
true
} ifelse
} def
/getint8 {
mark true 3 -1 roll
{
dup {pop datafile read} if
dup {pop 255 div true} if
} repeat
{
counttomark 1 add -1 roll pop true
}{
cleartomark false
} ifelse
} def
/putint8 {
dup dataptr add /dataptr exch store
dataptr exch
{
1 sub exch
255 mul cvi
databuf 2 index
3 -1 roll put
} repeat
pop
} def
/getint16 {
mark true 3 -1 roll
{
dup {pop datafile read} if
dup {pop 256 mul datafile read} if
dup {pop add 65535 div true} if
} repeat
{
counttomark 1 add -1 roll pop true
}{
cleartomark false
} ifelse
} def
/putint16 {
dup 2 mul dataptr add /dataptr exch store
dataptr exch
{
2 sub exch
65535 mul cvi dup
256 idiv databuf 3 index 3 -1 roll put
256 mod databuf 2 index 1 add 3 -1 roll put
} repeat
pop
} def
/srcbuf 256 string def
/rdcmntline {
currentfile srcbuf readline pop
(%) anchorsearch {pop} if
} def
/getplateindex {
0 [cyan? magenta? yellow? black? customColor?] {{exit} if 1 add} forall
} def
/aicsarray 4 array def
/aicsaltvals 4 array def
/aicsaltcolr aicsaltvals def
/tocolorspace {
dup type /arraytype eq {
mark exch aload pop
aicsarray 0 3 -1 roll put
aicsarray 1 3 -1 roll put
dup aicsarray 2 3 -1 roll put
gettintxform aicsarray 3 3 -1 roll put
counttomark aicsaltvals 0 3 -1 roll getinterval /aicsaltcolr exch store
aicsaltcolr astore pop pop
aicsarray
} if
} def
/subtintxform {aicsaltcolr {1 index mul exch} forall pop} def
/addtintxform {aicsaltcolr {1 sub 1 index mul 1 add exch} forall pop} def
/gettintxform {
/DeviceRGB eq {/addtintxform}{/subtintxform} ifelse load
} def
/getnchannels {
dup type /arraytype eq {0 get} if
colorspacedict exch get begin Channels end
} def
/makesmarks {
composite? {
pop true
}{
dup dup type /arraytype eq {0 get} if
colorspacedict exch get begin MarksPlate end
} ifelse
} def
/markingplate {
composite? {
pop true
}{
dup type /arraytype eq {
dup length getplateindex gt {getplateindex get}{pop false} ifelse
} if
} ifelse
} def
/tocmyk {
dup dup type /arraytype eq {0 get} if
colorspacedict exch get begin ToCMYK end
} def
/topsspace {
dup dup type /arraytype eq {0 get} if
colorspacedict exch get begin ToPSSpace end
} def
/colorspacedict 5 dict dup begin
/DeviceGray 4 dict dup begin
/Channels 1 def
/MarksPlate {pop black?} def
/ToCMYK {pop 1 exch sub 0 0 0 4 -1 roll} def
/ToPSSpace {} def
end def
/DeviceRGB 4 dict dup begin
/Channels 3 def
/MarksPlate {pop isCMYKSep?} def
/ToCMYK {pop _rgbtocmyk} def
/ToPSSpace {} def
end def
/DeviceCMYK 4 dict dup begin
/Channels 4 def
/MarksPlate {pop isCMYKSep?} def
/ToCMYK {pop} def
/ToPSSpace {} def
end def
/Separation 4 dict dup begin
/Channels 1 def
/MarksPlate {
/findcmykcustomcolor where {
pop dup 1 exch ToCMYK 5 -1 roll 1 get
findcmykcustomcolor 1 setcustomcolor
systemdict /currentgray get exec
1 ne
}{
pop false
} ifelse
} def
/ToCMYK {
dup 2 get mark exch 4 2 roll
3 get exec
counttomark -1 roll tocmyk
5 -1 roll pop
} def
/ToPSSpace {} def
end def
/Process 4 dict dup begin
/Channels 1 def
/MarksPlate {
isCMYKSep? {
1 exch ToCMYK 4 array astore getplateindex get 0 ne
}{
pop false
} ifelse
} def
/ToCMYK {
dup 2 get mark exch 4 2 roll
3 get exec
counttomark -1 roll tocmyk
5 -1 roll pop
} def
/ToPSSpace {
4 array copy dup 0 /Separation put
} def
end def
end def
/isoverprint {
/currentoverprint where {pop currentoverprint}{_of} ifelse
} def
/version_ge_3010.106 {
version {cvr} stopped {
pop
false
}{
3010.106 ge
} ifelse
} def
end
end
defaultpacking setpacking
%%EndResource