ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/meta/plot.h
Revision: 1.3
Committed: Mon Jul 14 22:24:00 2003 UTC (20 years, 9 months ago) by schorsch
Content type: text/plain
Branch: MAIN
Changes since 1.2: +11 -1 lines
Log Message:
Instrumented headers against multiple inclusion and for use from C++.
Moved includes in headers out of "C" scope.

File Contents

# Content
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