1*48502Sbostic /*- 2*48502Sbostic * Copyright (c) 1980 The Regents of the University of California. 3*48502Sbostic * All rights reserved. 419850Sdist * 5*48502Sbostic * %sccs.include.proprietary.c% 6*48502Sbostic * 7*48502Sbostic * @(#)aed.h 5.2 (Berkeley) 04/22/91 819850Sdist */ 919850Sdist 1019850Sdist /* 1115511Sralph * Displays plot files on an AED512 graphics terminal. 1215511Sralph */ 1315511Sralph 1415511Sralph #include <stdio.h> 1515511Sralph #include <sgtty.h> 1615511Sralph 1715511Sralph extern char dbuf[BUFSIZ]; /* Used to buffer display characters */ 1815511Sralph extern struct sgttyb sgttyb; /* Used to save terminal control bits */ 1915511Sralph extern curx, cury; /* Current screen position */ 2015511Sralph extern int xbot, ybot; /* Coordinates of screen lower-left corner */ 2115511Sralph extern int scale; /* The number of pixels per 2**12 units 2215511Sralph * of world coordinates. 2315511Sralph */ 2415511Sralph 2515511Sralph /* The following variables describe the screen. */ 2615511Sralph 2715511Sralph #define GRXMAX 511 /* Maximum x-coordinate of screen */ 2815511Sralph #define GRYMAX 482 /* Maximum y-coordinate of screen */ 29