xref: /csrg-svn/lib/libplot/t300s/space.c (revision 61403)
148522Sbostic /*-
2*61403Sbostic  * Copyright (c) 1983, 1993
3*61403Sbostic  *	The Regents of the University of California.  All rights reserved.
448522Sbostic  *
548522Sbostic  * %sccs.include.proprietary.c%
648522Sbostic  */
748522Sbostic 
813338Ssam #ifndef lint
9*61403Sbostic static char sccsid[] = "@(#)space.c	8.1 (Berkeley) 06/04/93";
1048522Sbostic #endif /* not lint */
1113338Ssam 
1213338Ssam # include "con.h"
1313338Ssam float deltx = 4095.;
1413338Ssam float delty = 4095.;
space(x0,y0,x1,y1)1513338Ssam space(x0,y0,x1,y1){
1613338Ssam 	botx = -2047.;
1713338Ssam 	boty = -2047.;
1813338Ssam 	obotx = x0;
1913338Ssam 	oboty = y0;
2013338Ssam 	scalex = deltx/(x1-x0);
2113338Ssam 	scaley = delty/(y1-y0);
2213338Ssam }
23