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

Defined functions

space defined in line 18; never used

Defined variables

sccsid defined in line 8; never used
Last modified: 1985-06-07
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 669
Valid CSS Valid XHTML 1.0 Strict