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