xref: /original-bsd/lib/libplot/t450/space.c (revision ba762ddc)
1 /*-
2  * Copyright (c) 1983 The Regents of the University of California.
3  * All rights reserved.
4  *
5  * %sccs.include.proprietary.c%
6  */
7 
8 #ifndef lint
9 static char sccsid[] = "@(#)space.c	4.2 (Berkeley) 04/22/91";
10 #endif /* not lint */
11 
12 # include "con.h"
13 space(x0,y0,x1,y1){
14 	botx = -2047.;
15 	boty = -2047.;
16 	obotx = x0;
17 	oboty = y0;
18 	scalex = 4096./(x1-x0);
19 	scaley = 4096./(y1-y0);
20 }
21