xref: /original-bsd/lib/libplot/aed/aed.h (revision c3e32dec)
1 /*-
2  * Copyright (c) 1980, 1993
3  *	The Regents of the University of California.  All rights reserved.
4  *
5  * %sccs.include.proprietary.c%
6  *
7  *	@(#)aed.h	8.1 (Berkeley) 06/04/93
8  */
9 
10 /*
11  * Displays plot files on an AED512 graphics terminal.
12  */
13 
14 #include <stdio.h>
15 #include <sgtty.h>
16 
17 extern char dbuf[BUFSIZ];	/* Used to buffer display characters */
18 extern struct sgttyb sgttyb;	/* Used to save terminal control bits */
19 extern curx, cury;		/* Current screen position */
20 extern int xbot, ybot;		/* Coordinates of screen lower-left corner */
21 extern int scale;		/* The number of pixels per 2**12 units
22 				 * of world coordinates.
23 				 */
24 
25 /* The following variables describe the screen. */
26 
27 #define GRXMAX	511	/* Maximum x-coordinate of screen */
28 #define GRYMAX	482	/* Maximum y-coordinate of screen */
29