xref: /csrg-svn/lib/libplot/grn/grnplot.h (revision 61389)
148511Sbostic /*-
2*61389Sbostic  * Copyright (c) 1980, 1986, 1993
3*61389Sbostic  *	The Regents of the University of California.  All rights reserved.
429810Ssklower  *
548511Sbostic  * %sccs.include.proprietary.c%
648511Sbostic  *
7*61389Sbostic  *	@(#)grnplot.h	8.1 (Berkeley) 06/04/93
829810Ssklower  */
929810Ssklower 
1029810Ssklower /*
1148511Sbostic  * Given a plot file, produces a grn file.
1248511Sbostic  *
1348511Sbostic  * 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