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 (21 years, 5 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

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