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