File: pathtest.ps

package info (click to toggle)
pstoedit 4.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,304 kB
  • sloc: cpp: 30,257; perl: 1,693; ansic: 1,218; java: 860; makefile: 295; sh: 82; awk: 15
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