| 1 |
schorsch |
1.3 |
/* RCSid: $Id: plot.h,v 1.2 2003/06/08 12:03:10 schorsch Exp $ */ |
| 2 |
greg |
1.1 |
/* |
| 3 |
|
|
* Definitions for plotting routines |
| 4 |
|
|
*/ |
| 5 |
schorsch |
1.3 |
#ifndef _RAD_PLOT_H_ |
| 6 |
|
|
#define _RAD_PLOT_H_ |
| 7 |
greg |
1.1 |
|
| 8 |
schorsch |
1.3 |
#ifdef __cplusplus |
| 9 |
|
|
extern "C" { |
| 10 |
|
|
#endif |
| 11 |
greg |
1.1 |
|
| 12 |
|
|
#define NPATS 9 /* number of fill patterns */ |
| 13 |
|
|
|
| 14 |
|
|
#define PATSIZE 16 /* pattern size (square) */ |
| 15 |
|
|
|
| 16 |
|
|
|
| 17 |
|
|
extern int dxsize, dysize; /* device size */ |
| 18 |
|
|
|
| 19 |
|
|
extern int pati[]; |
| 20 |
|
|
|
| 21 |
|
|
extern unsigned char pattern[][PATSIZE/8][PATSIZE]; /* fill patterns */ |
| 22 |
schorsch |
1.2 |
|
| 23 |
|
|
extern void set(int attrib, char *value); |
| 24 |
|
|
extern void reset(int attrib); |
| 25 |
|
|
extern void unset(int attrib); |
| 26 |
schorsch |
1.3 |
|
| 27 |
|
|
#ifdef __cplusplus |
| 28 |
|
|
} |
| 29 |
|
|
#endif |
| 30 |
|
|
#endif /* _RAD_PLOT_H_ */ |
| 31 |
schorsch |
1.2 |
|