xref: /csrg-svn/lib/libplot/vt0/point.c (revision 13389)
1*13389Ssam #ifndef lint
2*13389Ssam static char sccsid[] = "@(#)point.c	4.1 (Berkeley) 06/27/83";
3*13389Ssam #endif
4*13389Ssam 
5*13389Ssam extern vti;
6*13389Ssam extern xnow,ynow;
7*13389Ssam point(xi,yi){
8*13389Ssam 	struct {char pad,c; int x,y;} p;
9*13389Ssam 	p.c = 2;
10*13389Ssam 	p.x = xnow = xsc(xi);
11*13389Ssam 	p.y = ynow =  ysc(yi);
12*13389Ssam 	write(vti,&p.c,5);
13*13389Ssam }
14