148502Sbostic /*- 2*61323Sbostic * Copyright (c) 1980, 1993 3*61323Sbostic * The Regents of the University of California. All rights reserved. 419850Sdist * 548502Sbostic * %sccs.include.proprietary.c% 648502Sbostic * 7*61323Sbostic * @(#)aed.h 8.1 (Berkeley) 06/04/93 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