xref: /csrg-svn/lib/libplot/vt0/dot.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 
813381Ssam #ifndef lint
9*61414Sbostic static char sccsid[] = "@(#)dot.c	8.1 (Berkeley) 06/04/93";
1048526Sbostic #endif /* not lint */
1113381Ssam 
1213381Ssam extern vti;
dot(xi,yi,dx,n,pat)1313381Ssam dot(xi,yi,dx,n,pat)
1413381Ssam int pat[];
1513381Ssam {
1613381Ssam 	struct {char pad,c; int xi,yi,dx;} p;
1713381Ssam 	p.c = 7;
1813381Ssam 	p.xi = xsc(xi);
1913381Ssam 	p.yi = ysc(yi);
2013381Ssam 	p.dx = xsc(dx);
2113381Ssam 	write(vti,&p.c,7);
2213381Ssam 	write(vti,pat,n?n&0377:256);
2313381Ssam }
24