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