8000 csswg-drafts/css2/images/clip.eps at eb7d8b156e85f2daf12c3977034df0ed7cb29907 · w3c/csswg-drafts · GitHub
Skip to content

Latest commit

 

History

History
9522 lines (9494 loc) · 273 KB

File metadata and controls

9522 lines (9494 loc) · 273 KB
userdict/show{
currentcolorspace 0 get
/Pattern eq
{false charpath f}
{AGMP_current_show}ifelse
}put
}if
currentdict/pstr undef
}if
/consumeimagedata
{
begin
AGMIMG_init_common
currentdict/MultipleDataSources known not
{/MultipleDataSources false def}if
MultipleDataSources
{
DataSource 0 get type
dup/filetype eq
{
1 dict begin
/flushbuffer Width cvi string def
1 1 Height cvi
{
pop
0 1 DataSource length 1 sub
{
DataSource exch get
flushbuffer readstring pop pop
}for
}for
end
}if
dup/arraytype eq exch/packedarraytype eq or DataSource 0 get xcheck and
{
Width Height mul cvi
{
0 1 DataSource length 1 sub
{dup DataSource exch gx length exch 0 ne{pop}if}for
dup 0 eq
{pop exit}if
sub dup 0 le
{exit}if
}loop
pop
}if
}
{
/DataSource load type
dup/filetype eq
{
1 dict begin
/flushbuffer Width Decode length 2 idiv mul cvi string def
1 1 Height{pop DataSource flushbuffer readstring pop pop}for
end
}if
dup/arraytype eq exch/packedarraytype eq or/DataSource load xcheck and
{
Height Width BitsPerComponent mul 8 BitsPerComponent sub add 8 idiv Decode length 2 idiv mul mul
{
DataSource length dup 0 eq
{pop exit}if
sub dup 0 le
{exit}if
}loop
pop
}if
}ifelse
end
}bdf
/addprocs
{
2{/exec load}repeat
3 1 roll
[5 1 roll]bind cvx
}def
/modify_halftone_xfer
{
currenthalftone dup length dict copy begin
currentdict 2 index known{
1 index load dup length dict copy begin
currentdict/TransferFunction known{
/TransferFunction load
}{
currenttransfer
}ifelse
addprocs/TransferFunction xdf
currentdict end def
currentdict end sethalftone
}{
currentdict/TransferFunction known{
/TransferFunction load
}{
currenttransfer
}ifelse
addprocs/TransferFunction xdf
currentdict end sethalftone
pop
}ifelse
}def
/clonearray
{
dup xcheck exch
dup length array exch
Adobe_AGM_Core/AGMCORE_tmp -1 ddf
{
Adobe_AGM_Core/AGMCORE_tmp 2 copy get 1 add ddf
dup type/dicttype eq
{
Adobe_AGM_Core/AGMCORE_tmp get
exch
clonedict
Adobe_AGM_Core/AGMCORE_tmp 4 -1 roll ddf
}if
dup type/arraytype eq
{
Adobe_AGM_Core/AGMCORE_tmp get exch
clonearray
Adobe_AGM_Core/AGMCORE_tmp 4 -1 roll ddf
}if
exch dup
Adobe_AGM_Core/AGMCORE_tmp get 4 -1 roll put
}forall
exch{cvx}if
}bdf
/clonedict
{
dup length dict
begin
{
dup type/dicttype eq
{clonedict}if
dup type/arraytype eq
{clonearray}if
def
}forall
currentdict
end
}bdf
/DeviceN_PS2
{
/currentcolorspace AGMCORE_gget 0 get/DeviceN eq level3 not and
}bdf
/Indexed_DeviceN
{
/indexed_colorspace_dict AGMCORE_gget dup null ne{
dup/CSDBase known{
/CSDBase get/CSD get_res/Names known
}{
pop false
}ifelse
}{
pop false
}ifelse
}bdf
/DeviceN_NoneName
{
/Names where{
pop
false Names
{
(None)eq or
}forall
}{
false
}ifelse
}bdf
/DeviceN_PS2_inRip_seps
{
/AGMCORE_in_rip_sep where
{
pop dup type dup/arraytype eq exch/packedarraytype eq or
{
dup 0 get/DeviceN eq level3 not and AGMCORE_in_rip_sep and
{
/currentcolorspace exch AGMCORE_gput
false
}{
true
}ifelse
}{
true
}ifelse
}{
true
}ifelse
}bdf
/base_colorspace_type
{
dup type/arraytype eq{0 get}if
}bdf
/currentdistillerparams where{pop currentdistillerparams/CoreDistVersion get 5000 lt}{true}ifelse
{
/pdfmark_5{cleartomark}bind def
}{
/pdfmark_5{pdfmark}bind def
}ifelse
/ReadBypdfmark_5
{
currentfile exch 0 exch/SubFileDecode filter
/currentdistillerparams where
{pop currentdistillerparams/CoreDistVersion get 5000 lt}{true}ifelse
{flushfile cleartomark}
{/PUT pdfmark}ifelse
}bdf
/xpdfm
{
{
dup 0 get/Label eq
{
aload length[exch 1 add 1 roll/PAGELABEL
}{
aload pop
[{ThisPage}<<5 -2 roll>>/PUT
}ifelse
pdfmark_5
}forall
}bdf
/ds{
Adobe_AGM_Utils begin
}bdf
/dt{
currentdict Adobe_AGM_Utils eq{
end
}if
}bdf
systemdict/setpacking known
{setpacking}if
%%EndResource
%%BeginResource: procset Adobe_AGM_Core 2.0 0
%%Version: 2.0 0
%%Copyright: Copyright(C)1997-2007 Adobe Systems, Inc. All Rights Reserved.
systemdict/setpacking known
{
currentpacking
true setpacking
}if
userdict/Adobe_AGM_Core 209 dict dup begin put
/Adobe_AGM_Core_Id/Adobe_AGM_Core_2.0_0 def
/AGMCORE_str256 256 string def
/AGMCORE_save nd
/AGMCORE_graphicsave nd
/AGMCORE_c 0 def
/AGMCORE_m 0 def
/AGMCORE_y 0 def
/AGMCORE_k 0 def
/AGMCORE_cmykbuf 4 array def
/AGMCORE_screen[currentscreen]cvx def
/AGMCORE_tmp 0 def
/AGMCORE_&setgray nd
/AGMCORE_&setcolor nd
/AGMCORE_&setcolorspace nd
/AGMCORE_&setcmykcolor nd
/AGMCORE_cyan_plate nd
/AGMCORE_magenta_plate nd
/AGMCORE_yellow_plate nd
/AGMCORE_black_plate nd
/AGMCORE_plate_ndx nd
/AGMCORE_get_ink_data nd
/AGMCORE_is_cmyk_sep nd
/AGMCORE_host_sep nd
/AGMCORE_avoid_L2_sep_space nd
/AGMCORE_distilling nd
/AGMCORE_composite_job nd
/AGMCORE_producing_seps nd
/AGMCORE_ps_level -1 def
/AGMCORE_ps_version -1 def
/AGMCORE_environ_ok nd
/AGMCORE_CSD_cache 0 dict def
/AGMCORE_currentoverprint false def
/AGMCORE_deltaX nd
/AGMCORE_deltaY nd
/AGMCORE_name nd
/AGMCORE_sep_special nd
/AGMCORE_err_strings 4 dict def
/AGMCORE_cur_err nd
/AGMCORE_current_spot_alias false def
/AGMCORE_inverting false def
/AGMCORE_feature_dictCount nd
/AGMCORE_feature_opCount nd
/AGMCORE_feature_ctm nd
/AGMCORE_ConvertToProcess false def
/AGMCORE_Default_CTM matrix def
/AGMCORE_Default_PageSize nd
/AGMCORE_Default_flatness nd
/AGMCORE_currentbg nd
/AGMCORE_currentucr nd
/AGMCORE_pattern_paint_type 0 def
/knockout_unitsq nd
currentglobal true setglobal
[/CSA/Gradient/Procedure]
{
/Generic/Category findresource dup length dict copy/Category defineresource pop
}forall
setglobal
/AGMCORE_key_known
{
where{
/Adobe_AGM_Core_Id known
}{
false
}ifelse
}ndf
/flushinput
{
save
2 dict begin
/CompareBuffer 3 -1 roll def
/readbuffer 256 string def
mark
{
currentfile readbuffer{readline}stopped
{cleartomark mark}
{
not
{pop exit}
if
CompareBuffer eq
{exit}
if
}ifelse
}loop
cleartomark
end
restore
}bdf
/getspotfunction
{
AGMCORE_screen exch pop exch pop
dup type/dicttype eq{
dup/HalftoneType get 1 eq{
/SpotFunction get
}{
dup/HalftoneType get 2 eq{
/GraySpotFunction get
}{
pop
{
abs exch abs 2 copy add 1 gt{
1 sub dup mul exch 1 sub dup mul add 1 sub
}{
dup mul exch dup mul add 1 exch sub
}ifelse
}bind
}ifelse
}ifelse
}if
}def
/np
{newpath}bdf
/clp_npth
{clip np}def
/eoclp_npth
{eoclip np}def
/npth_clp
{np clip}def
/graphic_setup
{
/AGMCORE_graphicsave save store
concat
0 setgray
0 setlinecap
0 setlinejoin
1 setlinewidth
[]0 setdash
10 setmiterlimit
np
false setoverprint
false setstrokeadjust
//Adobe_AGM_Core/spot_alias gx
/Adobe_AGM_Image where{
pop
Adobe_AGM_Image/spot_alias 2 copy known{
gx
}{
pop pop
}ifelse
}if
/sep_colorspace_dict null AGMCORE_gput
100 dict begin
/dictstackcount countdictstack def
/showpage{}def
mark
}def
/graphic_cleanup
{
cleartomark
dictstackcount 1 countdictstack 1 sub{end}for
end
AGMCORE_graphicsave restore
}def
/compose_error_msg
{
grestoreall initgraphics
/Helvetica findfont 10 scalefont setfont
/AGMCORE_deltaY 100 def
/AGMCORE_deltaX 310 def
clippath pathbbox np pop pop 36 add exch 36 add exch moveto
0 AGMCORE_deltaY rlineto AGMCORE_deltaX 0 rlineto
0 AGMCORE_deltaY neg rlineto AGMCORE_deltaX neg 0 rlineto closepath
0 AGMCORE_&setgray
gsave 1 AGMCORE_&setgray fill grestore
1 setlinewidth gsave stroke grestore
currentpoint AGMCORE_deltaY 15 sub add exch 8 add exch moveto
/AGMCORE_deltaY 12 def
/AGMCORE_tmp 0 def
AGMCORE_err_strings exch get
{
dup 32 eq
{
pop
AGMCORE_str256 0 AGMCORE_tmp getinterval
stringwidth pop currentpoint pop add AGMCORE_deltaX 28 add gt
{
currentpoint AGMCORE_deltaY sub exch pop
clippath pathbbox pop pop pop 44 add exch moveto
}if
AGMCORE_str256 0 AGMCORE_tmp getinterval show( )show
0 1 AGMCORE_str256 length 1 sub
{
AGMCORE_str256 exch 0 put
}for
/AGMCORE_tmp 0 def
}{
AGMCORE_str256 exch AGMCORE_tmp xpt
/AGMCORE_tmp AGMCORE_tmp 1 add def
}ifelse
}forall
}bdf
/AGMCORE_CMYKDeviceNColorspaces[
[/Separation/None/DeviceCMYK{0 0 0}]
[/Separation(Black)/DeviceCMYK{0 0 0 4 -1 roll}bind]
[/Separation(Yellow)/DeviceCMYK{0 0 3 -1 roll 0}bind]
[/DeviceN[(Yellow)(Black)]/DeviceCMYK{0 0 4 2 roll}bind]
[/Separation(Magenta)/DeviceCMYK{0 exch 0 0}bind]
[/DeviceN[(Magenta)(Black)]/DeviceCMYK{0 3 1 roll 0 exch}bind]
[/DeviceN[(Magenta)(Yellow)]/DeviceCMYK{0 3 1 roll 0}bind]
[/DeviceN[(Magenta)(Yellow)(Black)]/DeviceCMYK{0 4 1 roll}bind]
[/Separation(Cyan)/DeviceCMYK{0 0 0}]
[/DeviceN[(Cyan)(Black)]/DeviceCMYK{0 0 3 -1 roll}bind]
[/DeviceN[(Cyan)(Yellow)]/DeviceCMYK{0 exch 0}bind]
[/DeviceN[(Cyan)(Yellow)(Black)]/DeviceCMYK{0 3 1 roll}bind]
[/DeviceN[(Cyan)(Magenta)]/DeviceCMYK{0 0}]
[/DeviceN[(Cyan)(Magenta)(Black)]/DeviceCMYK{0 exch}bind]
[/DeviceN[(Cyan)(Magenta)(Yellow)]/DeviceCMYK{0}]
[/DeviceCMYK]
]def
/ds{
Adobe_AGM_Core begin
/currentdistillerparams where
{
pop currentdistillerparams/CoreDistVersion get 5000 lt
{<</DetectBlends false>>setdistillerparams}if
}if
/AGMCORE_ps_version xdf
/AGMCORE_ps_level xdf
errordict/AGM_handleerror known not{
errordict/AGM_handleerror errordict/handleerror get put
errordict/handleerror{
Adobe_AGM_Core begin
$error/newerror get AGMCORE_cur_err null ne and{
$error/newerror false put
AGMCORE_cur_err compose_error_msg
}if
$error/newerror true put
end
errordict/AGM_handleerror get exec
}bind put
}if
/AGMCORE_environ_ok
ps_level AGMCORE_ps_level ge
ps_version AGMCORE_ps_version ge and
AGMCORE_ps_level -1 eq or
def
AGMCORE_environ_ok not
{/AGMCORE_cur_err/AGMCORE_bad_environ def}if
/AGMCORE_&setgray systemdict/setgray get def
level2{
/AGMCORE_&setcolor systemdict/setcolor get def
/AGMCORE_&setcolorspace systemdict/setcolorspace get def
}if
/AGMCORE_currentbg currentblackgeneration def
/AGMCORE_currentucr currentundercolorremoval def
/AGMCORE_Default_flatness currentflat def
/AGMCORE_distilling
/product where{
pop systemdict/setdistillerparams known product(Adobe PostScript Parser)ne and
}{
false
}ifelse
def
/AGMCORE_GSTATE AGMCORE_key_known not{
/AGMCORE_GSTATE 21 dict def
/AGMCORE_tmpmatrix matrix def
/AGMCORE_gstack 32 array def
/AGMCORE_gstackptr 0 def
/AGMCORE_gstacksaveptr 0 def
/AGMCORE_gstackframekeys 14 def
/AGMCORE_&gsave/gsave ldf
/AGMCORE_&grestore/grestore ldf
/AGMCORE_&grestoreall/grestoreall ldf
/AGMCORE_&save/save ldf
/AGMCORE_&setoverprint/setoverprint ldf
/AGMCORE_gdictcopy{
begin
{def}forall
end
}def
/AGMCORE_gput{
AGMCORE_gstack AGMCORE_gstackptr get
3 1 roll
put
}def
/AGMCORE_gget{
AGMCORE_gstack AGMCORE_gstackptr get
exch
get
}def
/gsave{
AGMCORE_&gsave
AGMCORE_gstack AGMCORE_gstackptr get
AGMCORE_gstackptr 1 add
dup 32 ge{limitcheck}if
/AGMCORE_gstackptr exch store
AGMCORE_gstack AGMCORE_gstackptr get
AGMCORE_gdictcopy
}def
/grestore{
AGMCORE_&grestore
AGMCORE_gstackptr 1 sub
dup AGMCORE_gstacksaveptr lt{1 add}if
dup AGMCORE_gstack exch get dup/AGMCORE_currentoverprint known
{/AGMCORE_currentoverprint get setoverprint}{pop}ifelse
/AGMCORE_gstackptr exch store
}def
/grestoreall{
AGMCORE_&grestoreall
/AGMCORE_gstackptr AGMCORE_gstacksaveptr store
}def
/save{
AGMCORE_&save
AGMCORE_gstack AGMCORE_gstackptr get
AGMCORE_gstackptr 1 add
dup 32 ge{limitcheck}if
/AGMCORE_gstackptr exch store
/AGMCORE_gstacksaveptr AGMCORE_gstackptr store
AGMCORE_gstack AGMCORE_gstackptr get
AGMCORE_gdictcopy
}def
/setoverprint{
dup/AGMCORE_currentoverprint exch AGMCORE_gput AGMCORE_&setoverprint
}def
0 1 AGMCORE_gstack length 1 sub{
AGMCORE_gstack exch AGMCORE_gstackframekeys dict put
}for
}if
level3/AGMCORE_&sysshfill AGMCORE_key_known not and
{
/AGMCORE_&sysshfill systemdict/shfill get def
/AGMCORE_&sysmakepattern systemdict/makepattern get def
/AGMCORE_&usrmakepattern/makepattern load def
}if
/currentcmykcolor[0 0 0 0]AGMCORE_gput
/currentstrokeadjust false AGMCORE_gput
/currentcolorspace[/DeviceGray]AGMCORE_gput
/sep_tint 0 AGMCORE_gput
/devicen_tints[0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]AGMCORE_gput
/sep_colorspace_dict null AGMCORE_gput
/devicen_colorspace_dict null AGMCORE_gput
/indexed_colorspace_dict null AGMCORE_gput
/currentcolor_intent()AGMCORE_gput
/customcolor_tint 1 AGMCORE_gput
/absolute_colorimetric_crd null AGMCORE_gput
/relative_colorimetric_crd null AGMCORE_gput
/saturation_crd null AGMCORE_gput
/perceptual_crd null AGMCORE_gput
currentcolortransfer cvlit/AGMCore_gray_xfer xdf cvlit/AGMCore_b_xfer xdf
cvlit/AGMCore_g_xfer xdf cvlit/AGMCore_r_xfer xdf
<<
/MaxPatternItem currentsystemparams/MaxPatternCache get
>>
setuserparams
end
}def
/ps
{
/setcmykcolor where{
pop
Adobe_AGM_Core/AGMCORE_&setcmykcolor/setcmykcolor load put
}if
Adobe_AGM_Core begin