xref: /csrg-svn/lib/libplot/gigi/space.c (revision 61388)
148508Sbostic /*-
2*61388Sbostic  * Copyright (c) 1980, 1993
3*61388Sbostic  *	The Regents of the University of California.  All rights reserved.
448508Sbostic  *
548508Sbostic  * %sccs.include.proprietary.c%
619974Sdist  */
719974Sdist 
815496Sralph #ifndef lint
9*61388Sbostic static char sccsid[] = "@(#)space.c	8.1 (Berkeley) 06/04/93";
1048508Sbostic #endif /* not lint */
1115496Sralph 
1215496Sralph #include "gigi.h"
1315496Sralph 
space(x0,y0,x1,y1)1415496Sralph space(x0,y0,x1,y1)
1515496Sralph int x0,y0,x1,y1;
1615496Sralph {
1715496Sralph 	lowx = x0;
1815496Sralph 	lowy = y0;
1915496Sralph 	scalex = XMAX/(x1-lowx);
2015496Sralph 	scaley = YMAX/(y1-lowy);
2115496Sralph }
22