File: pathtest.ps

package info (click to toggle)
pstoedit 3.60-2
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 5,028 kB
  • sloc: cpp: 26,006; sh: 10,476; perl: 3,881; ansic: 964; java: 860; makefile: 388
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