| 1 |
/* RCSid: $Id: plot.h,v 1.2 2003/06/08 12:03:10 schorsch Exp $ */
|
| 2 |
/*
|
| 3 |
* Definitions for plotting routines
|
| 4 |
*/
|
| 5 |
#ifndef _RAD_PLOT_H_
|
| 6 |
#define _RAD_PLOT_H_
|
| 7 |
|
| 8 |
#ifdef __cplusplus
|
| 9 |
extern "C" {
|
| 10 |
#endif
|
| 11 |
|
| 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 |
|
| 23 |
extern void set(int attrib, char *value);
|
| 24 |
extern void reset(int attrib);
|
| 25 |
extern void unset(int attrib);
|
| 26 |
|
| 27 |
#ifdef __cplusplus
|
| 28 |
}
|
| 29 |
#endif
|
| 30 |
#endif /* _RAD_PLOT_H_ */
|
| 31 |
|