xref: /csrg-svn/lib/libplot/aed/aed.h (revision 15511)
1*15511Sralph /*	aed.h	4.1	83/11/11	*/
2*15511Sralph /*
3*15511Sralph  * Displays plot files on an AED512 graphics terminal.
4*15511Sralph  */
5*15511Sralph 
6*15511Sralph #include <stdio.h>
7*15511Sralph #include <sgtty.h>
8*15511Sralph 
9*15511Sralph extern char dbuf[BUFSIZ];	/* Used to buffer display characters */
10*15511Sralph extern struct sgttyb sgttyb;	/* Used to save terminal control bits */
11*15511Sralph extern curx, cury;		/* Current screen position */
12*15511Sralph extern int xbot, ybot;		/* Coordinates of screen lower-left corner */
13*15511Sralph extern int scale;		/* The number of pixels per 2**12 units
14*15511Sralph 				 * of world coordinates.
15*15511Sralph 				 */
16*15511Sralph 
17*15511Sralph /* The following variables describe the screen. */
18*15511Sralph 
19*15511Sralph #define GRXMAX	511	/* Maximum x-coordinate of screen */
20*15511Sralph #define GRYMAX	482	/* Maximum y-coordinate of screen */
21