1*25001Ssam /* 2*25001Ssam * Copyright (c) 1985 Regents of the University of California. 3*25001Ssam * All rights reserved. The Berkeley software License Agreement 4*25001Ssam * specifies the terms and conditions for redistribution. 5*25001Ssam */ 6*25001Ssam 7*25001Ssam #ifndef lint 8*25001Ssam static char sccsid[] = "@(#)space.c 5.1 (Berkeley) 09/21/85"; 9*25001Ssam #endif not lint 10*25001Ssam 11*25001Ssam extern float botx; 12*25001Ssam extern float boty; 13*25001Ssam extern float obotx; 14*25001Ssam extern float oboty; 15*25001Ssam extern float scalex; 16*25001Ssam extern float scaley; 17*25001Ssam int scaleflag; 18*25001Ssam space(x0,y0,x1,y1){ 19*25001Ssam botx = 0.; 20*25001Ssam boty = 0.; 21*25001Ssam obotx = x0; 22*25001Ssam oboty = y0; 23*25001Ssam if(scaleflag) 24*25001Ssam return; 25*25001Ssam scalex = 2040./(x1-x0); 26*25001Ssam scaley = 2040./(y1-y0); 27*25001Ssam } 28