xref: /csrg-svn/lib/libplot/vt0/point.c (revision 61414)
148526Sbostic /*-
2*61414Sbostic  * Copyright (c) 1983, 1993
3*61414Sbostic  *	The Regents of the University of California.  All rights reserved.
448526Sbostic  *
548526Sbostic  * %sccs.include.proprietary.c%
648526Sbostic  */
748526Sbostic 
813389Ssam #ifndef lint
9*61414Sbostic static char sccsid[] = "@(#)point.c	8.1 (Berkeley) 06/04/93";
1048526Sbostic #endif /* not lint */
1113389Ssam 
1213389Ssam extern vti;
1313389Ssam extern xnow,ynow;
point(xi,yi)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