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