1 /*- 2 * Copyright (c) 1980 The Regents of the University of California. 3 * All rights reserved. 4 * 5 * %sccs.include.proprietary.c% 6 * 7 * @(#)aed.h 5.2 (Berkeley) 04/22/91 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