File: pathtest.ps

package info (click to toggle)
pstoedit 3.45-4
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 4,272 kB
  • ctags: 2,705
  • sloc: cpp: 24,255; sh: 8,439; perl: 3,896; ansic: 881; java: 860; makefile: 451
file content (33 lines) | stat: -rw-r--r-- 434 bytes parent folder | download | duplicates (14)
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
% closepath !!

/Times-Roman findfont 10 scalefont setfont

0.7 0.5 0.1 setrgbcolor

200 200 moveto 300 300 lineto stroke


0.2 0.5 0.7 setrgbcolor

/p {
newpath
100 100 moveto
200 100 lineto
150 400 lineto
200 200 moveto
200 300 lineto
200 400 100 400 100 200 curveto
} def

p eofill
100 80 moveto (eofilled) show

200 0 translate p fill
100 80 moveto (filled) show

200 0 translate p stroke
100 80 moveto (stroke) show


showpage