1 /*-
2 * Copyright (c) 1983, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * %sccs.include.proprietary.c%
6 */
7
8 #ifndef lint
9 static char sccsid[] = "@(#)dot.c 8.1 (Berkeley) 06/04/93";
10 #endif /* not lint */
11
12 extern vti;
dot(xi,yi,dx,n,pat)13 dot(xi,yi,dx,n,pat)
14 int pat[];
15 {
16 struct {char pad,c; int xi,yi,dx;} p;
17 p.c = 7;
18 p.xi = xsc(xi);
19 p.yi = ysc(yi);
20 p.dx = xsc(dx);
21 write(vti,&p.c,7);
22 write(vti,pat,n?n&0377:256);
23 }
24