1*48511Sbostic /*- 2*48511Sbostic * Copyright (c) 1980, 1986 The Regents of the University of California. 3*48511Sbostic * All rights reserved. 429810Ssklower * 5*48511Sbostic * %sccs.include.proprietary.c% 6*48511Sbostic * 7*48511Sbostic * @(#)grnplot.h 6.2 (Berkeley) 04/22/91 829810Ssklower */ 929810Ssklower 1029810Ssklower /* 11*48511Sbostic * Given a plot file, produces a grn file. 12*48511Sbostic * 13*48511Sbostic * Modified to grnplot by Brad Rubenstein 8/29/86. 1429810Ssklower */ 1529810Ssklower 1629810Ssklower #include <stdio.h> 1729810Ssklower 1829810Ssklower extern curx, cury; /* Current screen position */ 1929810Ssklower extern int xbot, ybot; /* Coordinates of screen lower-left corner */ 2029810Ssklower extern double scale; /* The number of pixels per 2**12 units 2129810Ssklower * of world coordinates. 2229810Ssklower */ 2329810Ssklower extern int linestyle; 2429810Ssklower extern int invector, ingrnfile; 2529810Ssklower 2629810Ssklower #define FONTSIZE 1 2729810Ssklower #define FONTSTYLE 1 2829810Ssklower #define DEFAULTLINE 5 2929810Ssklower #define POINTSTRING "." 3029810Ssklower 3129810Ssklower /* The following variables describe the screen. */ 3229810Ssklower 3329810Ssklower #define GRXMAX 512 /* Maximum x-coordinate of screen */ 3429810Ssklower #define GRYMAX 512 /* Maximum y-coordinate of screen */ 35