File: eps.ps

package info (click to toggle)
ruby-rghost 0.9.9-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,188 kB
  • sloc: ruby: 3,374; makefile: 6; sh: 1
file content (42 lines) | stat: -rwxr-xr-x 758 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/BeginEPSF
{
	/EPSFsave save def
	count /OpStackSize exch def
	/DictStackSize countdictstack def
	% turn off showpage
	/showpage {} def
	% set up default graphics state
	0 setgray 0 setlinecap
	1 setlinewidth 0 setlinejoin
	10 setmiterlimit [] 0 setdash newpath
	/languagelevel where
	{
		pop languagelevel 1 ne
    	{
			false setstrokeadjust false setoverprint
		} if
	} if
} bind def
/EndEPSF
{
	count OpStackSize sub
	dup 0 lt {neg {pop} repeat} {pop} ifelse
	countdictstack DictStackSize sub
	dup 0 lt {neg {end} repeat} {pop} ifelse
	EPSFsave restore
} bind def
/EPSFBox
{
	4 dict begin
	/ury exch def
	/urx exch def
	/lly exch def
	/llx exch def
	llx lly moveto
	urx lly lineto
	urx ury lineto
	llx ury lineto
	closepath
	end
} def
/pagesave save def