# 2.11BSD#431 - /usr/src/usr.lib/libplot/vt0/subr.c

##### Functions

    xsc               X
    ysc               X

       1: #ifndef lint
       2: static char sccsid[] = "@(#)subr.c	4.1 (Berkeley) 6/27/83";
       3: #endif
       4:
       5: extern float obotx;
       6: extern float oboty;
       7: extern float boty;
       8: extern float botx;
       9: extern float scalex;
      10: extern float scaley;
      11: xsc(xi){
      12:     int xa;
      13:     xa = (xi-obotx)*scalex+botx;
      14:     return(xa);
      15: }
      16: ysc(yi){
      17:     int ya;
      18:     ya = (yi-oboty)*scaley+boty;
      19:     return(ya);
      20: }

#### Defined functions

xsc defined in line 11; used 7 times

- in /usr/src/usr.lib/libplot/vt0/dot.c line 11-13(2)
- in /usr/src/usr.lib/libplot/vt0/line.c line 10-17(3)
- in /usr/src/usr.lib/libplot/vt0/move.c line 10
- in /usr/src/usr.lib/libplot/vt0/point.c line 10

ysc defined in line 16; used 6 times

- in /usr/src/usr.lib/libplot/vt0/dot.c line 12
- in /usr/src/usr.lib/libplot/vt0/line.c line 11-17(3)
- in /usr/src/usr.lib/libplot/vt0/move.c line 11
- in /usr/src/usr.lib/libplot/vt0/point.c line 11

#### Defined variables

sccsid defined in line 2; never used

Last modified: 1987-02-18 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 350 |