/* * Copyright (c) 1980, 1986 Regents of the University of California. * All rights reserved. The Berkeley software License Agreement * specifies the terms and conditions for redistribution. * * @(#)grnplot.h 6.1 (Berkeley) 08/29/86 * modified to grnplot by Brad Rubenstein 8/29/86 */ /* * Given a plot file, produces a grn file */ #include extern curx, cury; /* Current screen position */ extern int xbot, ybot; /* Coordinates of screen lower-left corner */ extern double scale; /* The number of pixels per 2**12 units * of world coordinates. */ extern int linestyle; extern int invector, ingrnfile; #define FONTSIZE 1 #define FONTSTYLE 1 #define DEFAULTLINE 5 #define POINTSTRING "." /* The following variables describe the screen. */ #define GRXMAX 512 /* Maximum x-coordinate of screen */ #define GRYMAX 512 /* Maximum y-coordinate of screen */