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

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

diff --git a/usr/src/lib/libplot/vt0/space.c b/usr/src/lib/libplot/vt0/space.c
new file mode 100644 (file)
index 0000000..95146ed
--- /dev/null
@@ -0,0 +1,20 @@
+#ifndef lint
+static char sccsid[] = "@(#)space.c    4.1 (Berkeley) %G%";
+#endif
+
+extern float boty;
+extern float botx;
+extern float oboty;
+extern float obotx;
+extern float scalex;
+extern float scaley;
+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);
+}