xref: /csrg-svn/lib/libplot/t300/space.c (revision 61401)
148521Sbostic /*-
2*61401Sbostic  * Copyright (c) 1983, 1993
3*61401Sbostic  *	The Regents of the University of California.  All rights reserved.
448521Sbostic  *
548521Sbostic  * %sccs.include.proprietary.c%
648521Sbostic  */
748521Sbostic 
813321Ssam #ifndef lint
9*61401Sbostic static char sccsid[] = "@(#)space.c	8.1 (Berkeley) 06/04/93";
1048521Sbostic #endif /* not lint */
1113321Ssam 
1213321Ssam # include "con.h"
1313321Ssam float deltx = 4095.;
1413321Ssam float delty = 4095.;
space(x0,y0,x1,y1)1513321Ssam space(x0,y0,x1,y1){
1613321Ssam 	botx = -2047.;
1713321Ssam 	boty = -2047.;
1813321Ssam 	obotx = x0;
1913321Ssam 	oboty = y0;
2013321Ssam 	scalex = deltx/(x1-x0);
2113321Ssam 	scaley = delty/(y1-y0);
2213321Ssam }
23