1 /* 2 * Copyright (c) 1980, 1986 Regents of the University of California. 3 * All rights reserved. The Berkeley software License Agreement 4 * specifies the terms and conditions for redistribution. 5 * 6 * @(#)grnplot.h 6.1 (Berkeley) 08/29/86 7 * modified to grnplot by Brad Rubenstein 8/29/86 8 */ 9 10 /* 11 * Given a plot file, produces a grn file 12 */ 13 14 #include <stdio.h> 15 16 extern curx, cury; /* Current screen position */ 17 extern int xbot, ybot; /* Coordinates of screen lower-left corner */ 18 extern double scale; /* The number of pixels per 2**12 units 19 * of world coordinates. 20 */ 21 extern int linestyle; 22 extern int invector, ingrnfile; 23 24 #define FONTSIZE 1 25 #define FONTSTYLE 1 26 #define DEFAULTLINE 5 27 #define POINTSTRING "." 28 29 /* The following variables describe the screen. */ 30 31 #define GRXMAX 512 /* Maximum x-coordinate of screen */ 32 #define GRYMAX 512 /* Maximum y-coordinate of screen */ 33