aboutsummaryrefslogtreecommitdiff
path: root/src/graph/PS/drawrect.ps
blob: ed955acb6d4a6c0f74f8d75d920adcc0c2db8548 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
% operand stack configuration in order to use psDrawRect:
%		psDrawRect
%		y
%		x
%		height
%		width
%		graphics-context dictionary
% this draws an outline of a rectangle whose origin is at (x,y) and is width
% + 1 wide and height + 1 tall.

/psDrawRect
        {	gsave
                newpath
                rectangle
		begin installGC stroke end
		grestore }
        def