1 /*- 2 * Copyright (c) 1983 The Regents of the University of California. 3 * All rights reserved. 4 * 5 * %sccs.include.proprietary.c% 6 */ 7 8 #ifndef lint 9 static char sccsid[] = "@(#)dot.c 4.2 (Berkeley) 04/22/91"; 10 #endif /* not lint */ 11 12 extern vti; 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