aboutsummaryrefslogtreecommitdiff
path: root/src/graph/PS/drawstr.ps
blob: 232db858c07898c602609299e2c3a61ccfaef43c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
% operand stack configuration in order to use psDrawStr:
%		psDrawStr
%		y
%		x
%		string
%		graphics-context dictionary
% this function draws a text string at (x,y).

/psDrawStr
        {	gsave
		newpath
                loadFont
                yVal moveto
		exch begin installGC show end
                grestore }
        def