projects
/
unix-history
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
4.4BSD snapshot (revision 8.1); add 1993 to copyright
[unix-history]
/
usr
/
src
/
lib
/
libplot
/
t450
/
space.c
/*-
* Copyright (c) 1983, 1993
* The Regents of the University of California. All rights reserved.
*
* %sccs.include.proprietary.c%
*/
#ifndef lint
static char
sccsid
[] =
"@(#)space.c 8.1 (Berkeley) %G%"
;
#endif
/* not lint */
# include
"con.h"
space
(
x0
,
y0
,
x1
,
y1
){
botx
= -
2047
.;
boty
= -
2047
.;
obotx
=
x0
;
oboty
=
y0
;
scalex
=
4096
./(
x1
-
x0
);
scaley
=
4096
./(
y1
-
y0
);
}