1: /*
   2:  * Copyright (c) 1985 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.2 (Berkeley) 9/21/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: 
  18: int PlotRes = DEFRES;
  19: 
  20: int scaleflag;
  21: space(x0,y0,x1,y1){
  22:     botx = 2.;
  23:     boty = 2.;
  24:     obotx = x0;
  25:     oboty = y0;
  26:     if(scaleflag)
  27:         return;
  28:     scalex = (8.0 * PlotRes)/(x1-x0);
  29:     scaley = (8.0 * PlotRes)/(y1-y0);
  30: }

Defined functions

space defined in line 21; never used

Defined variables

PlotRes defined in line 18; used 2 times
scaleflag defined in line 20; used 2 times
sccsid defined in line 8; never used
Last modified: 1987-02-18
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 1717
Valid CSS Valid XHTML 1.0 Strict