File: pathtest.ps

package info (click to toggle)
pstoedit 3.31-2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 2,340 kB
  • ctags: 1,963
  • sloc: cpp: 20,167; perl: 3,182; sh: 2,466; java: 860; ansic: 540; makefile: 463
file content (33 lines) | stat: -rwxr-xr-x 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