xref: /csrg-svn/lib/libplot/vt0/point.c (revision 48526)
1*48526Sbostic /*-
2*48526Sbostic  * Copyright (c) 1983 The Regents of the University of California.
3*48526Sbostic  * All rights reserved.
4*48526Sbostic  *
5*48526Sbostic  * %sccs.include.proprietary.c%
6*48526Sbostic  */
7*48526Sbostic 
813389Ssam #ifndef lint
9*48526Sbostic static char sccsid[] = "@(#)point.c	4.2 (Berkeley) 04/22/91";
10*48526Sbostic #endif /* not lint */
1113389Ssam 
1213389Ssam extern vti;
1313389Ssam extern xnow,ynow;
1413389Ssam point(xi,yi){
1513389Ssam 	struct {char pad,c; int x,y;} p;
1613389Ssam 	p.c = 2;
1713389Ssam 	p.x = xnow = xsc(xi);
1813389Ssam 	p.y = ynow =  ysc(yi);
1913389Ssam 	write(vti,&p.c,5);
2013389Ssam }
21