date and time created 83/06/27 14:26:10 by sam
authorSam Leffler <sam@ucbvax.Berkeley.EDU>
Tue, 28 Jun 1983 05:26:10 +0000 (21:26 -0800)
committerSam Leffler <sam@ucbvax.Berkeley.EDU>
Tue, 28 Jun 1983 05:26:10 +0000 (21:26 -0800)
SCCS-vsn: lib/libplot/vt0/dot.c 4.1

usr/src/lib/libplot/vt0/dot.c [new file with mode: 0644]

diff --git a/usr/src/lib/libplot/vt0/dot.c b/usr/src/lib/libplot/vt0/dot.c
new file mode 100644 (file)
index 0000000..5642c5d
--- /dev/null
@@ -0,0 +1,16 @@
+#ifndef lint
+static char sccsid[] = "@(#)dot.c      4.1 (Berkeley) %G%";
+#endif
+
+extern vti;
+dot(xi,yi,dx,n,pat)
+int pat[];
+{
+       struct {char pad,c; int xi,yi,dx;} p;
+       p.c = 7;
+       p.xi = xsc(xi);
+       p.yi = ysc(yi);
+       p.dx = xsc(dx);
+       write(vti,&p.c,7);
+       write(vti,pat,n?n&0377:256);
+}