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: * @(#)aed.h 5.2 (Berkeley) 6/5/85
7: */
8:
9: /*
10: * Displays plot files on an AED512 graphics terminal.
11: */
12:
13: #include <stdio.h>
14: #include <sgtty.h>
15:
16: extern char dbuf[BUFSIZ]; /* Used to buffer display characters */
17: extern struct sgttyb sgttyb; /* Used to save terminal control bits */
18: extern curx, cury; /* Current screen position */
19: extern int xbot, ybot; /* Coordinates of screen lower-left corner */
20: extern int scale; /* The number of pixels per 2**12 units
21: * of world coordinates.
22: */
23:
24: /* The following variables describe the screen. */
25:
26: #define GRXMAX 511 /* Maximum x-coordinate of screen */
27: #define GRYMAX 482 /* Maximum y-coordinate of screen */
Defined macros
Usage of this include