From: Sam Leffler Date: Tue, 28 Jun 1983 05:26:21 +0000 (-0800) Subject: date and time created 83/06/27 14:26:21 by sam X-Git-Tag: BSD-4_2-Snapshot-Development~1236 X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/commitdiff_plain/23af587d6d2a93008e8303f51b89be8838b011b4 date and time created 83/06/27 14:26:21 by sam SCCS-vsn: lib/libplot/vt0/space.c 4.1 --- diff --git a/usr/src/lib/libplot/vt0/space.c b/usr/src/lib/libplot/vt0/space.c new file mode 100644 index 0000000000..95146ed492 --- /dev/null +++ b/usr/src/lib/libplot/vt0/space.c @@ -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); +}