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

usr/src/lib/libplot/t300s/space.c [new file with mode: 0644]

diff --git a/usr/src/lib/libplot/t300s/space.c b/usr/src/lib/libplot/t300s/space.c
new file mode 100644 (file)
index 0000000..687a8b8
--- /dev/null
@@ -0,0 +1,15 @@
+#ifndef lint
+static char sccsid[] = "@(#)space.c    4.1 (Berkeley) %G%";
+#endif
+
+# include "con.h"
+float deltx = 4095.;
+float delty = 4095.;
+space(x0,y0,x1,y1){
+       botx = -2047.;
+       boty = -2047.;
+       obotx = x0;
+       oboty = y0;
+       scalex = deltx/(x1-x0);
+       scaley = delty/(y1-y0);
+}