148524Sbostic /*- 2*61408Sbostic * Copyright (c) 1983, 1993 3*61408Sbostic * The Regents of the University of California. All rights reserved. 448524Sbostic * 548524Sbostic * %sccs.include.proprietary.c% 648524Sbostic */ 748524Sbostic 813355Ssam #ifndef lint 9*61408Sbostic static char sccsid[] = "@(#)space.c 8.1 (Berkeley) 06/04/93"; 1048524Sbostic #endif /* not lint */ 1113355Ssam 1213355Ssam extern float botx; 1313355Ssam extern float boty; 1413355Ssam extern float obotx; 1513355Ssam extern float oboty; 1613355Ssam extern float scalex; 1713355Ssam extern float scaley; 1813355Ssam extern int scaleflag; space(x0,y0,x1,y1)1913355Ssamspace(x0,y0,x1,y1){ 2013355Ssam botx = 0.; 2113355Ssam boty = 0.; 2213355Ssam obotx = x0; 2313355Ssam oboty = y0; 2413355Ssam if(scaleflag) 2513355Ssam return; 2613355Ssam scalex = 3120./(x1-x0); 2713355Ssam scaley = 3120./(y1-y0); 2813355Ssam } 29