blob: 84d20894834ec24f92393574a6ebf5969e8a7894 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
% operand stack configuration in order to use psDrawLines:
% psDrawLines
% points[0].y
% points[0].x
% n
% ...
% points[n].y
% points[n].x
% graphics-context dictionary
% this draws lines connecting all the points.
/psDrawLines
{ gsave
newpath
yVal moveto
1 sub {
yVal lineto
} repeat
begin installGC stroke end
grestore }
def
|