home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1996 September
/
PCWK996.iso
/
sharewar
/
95
/
narzedzi
/
ambra
/
ambr32a1.exe
/
FILE
/
ARCHIVE.Z
/
ACROBAT
/
VIEWER32.EXE
/
PSPROCSET
/
4
< prev
next >
Wrap
Text File
|
1996-02-22
|
1KB
|
46 lines
%%BeginFile: l2compat
%%Copyright: Copyright 1987-1993 Adobe Systems Incorporated. All Rights Reserved.
% Level 1 emulation of level 2 operators
% proc string cshow -
/cshow isdefined? not StartLoad {
/cshow {
exch /_cshow xdd % allows proc to use stack params
{ 0 0 _cshow exec } forall % char 0 0 proc -
} bd
} EndLoad
% cyan magenta yellow black setcmykcolor -
/setcmykcolor isdefined? not StartLoad {
/setcmykcolor {
1 sub 4 1 roll % (1-k) c m y
3 { % for (c m y): add (1-k), make >= 0
3 index add neg dup 0 lt { pop 0 } if
3 1 roll
} repeat
setrgbcolor
pop
} bd
} EndLoad
% x y width height rectclip -
/rectclip isdefined? not StartLoad {
/re 0 def % to be defined in pdf.prc
/rectclip { newpath re clip newpath } bd
} EndLoad
% formdict execform -
/execform isdefined? not StartLoad {
/execform {
gsave dup begin % Stack: dict
Matrix concat
BBox aload pop % Stack: dict llx lly urx ury
exch 3 index sub
exch 2 index sub % Stack: dict llx lly w h
rectclip
PaintProc end grestore
} def % not bd to not bind Matrix, BBox, PaintProc
} EndLoad
%%EndFile