xref: /csrg-svn/lib/libplot/aed/aed.h (revision 19850)
115511Sralph /*
2*19850Sdist  * Copyright (c) 1980 Regents of the University of California.
3*19850Sdist  * All rights reserved.  The Berkeley software License Agreement
4*19850Sdist  * specifies the terms and conditions for redistribution.
5*19850Sdist  *
6*19850Sdist  *	@(#)aed.h	5.1 (Berkeley) 04/30/85
7*19850Sdist  */
8*19850Sdist 
9*19850Sdist /*
1015511Sralph  * Displays plot files on an AED512 graphics terminal.
1115511Sralph  */
1215511Sralph 
1315511Sralph #include <stdio.h>
1415511Sralph #include <sgtty.h>
1515511Sralph 
1615511Sralph extern char dbuf[BUFSIZ];	/* Used to buffer display characters */
1715511Sralph extern struct sgttyb sgttyb;	/* Used to save terminal control bits */
1815511Sralph extern curx, cury;		/* Current screen position */
1915511Sralph extern int xbot, ybot;		/* Coordinates of screen lower-left corner */
2015511Sralph extern int scale;		/* The number of pixels per 2**12 units
2115511Sralph 				 * of world coordinates.
2215511Sralph 				 */
2315511Sralph 
2415511Sralph /* The following variables describe the screen. */
2515511Sralph 
2615511Sralph #define GRXMAX	511	/* Maximum x-coordinate of screen */
2715511Sralph #define GRYMAX	482	/* Maximum y-coordinate of screen */
28