ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/meta/macplot.h
Revision: 1.2
Committed: Mon Jul 14 22:24:00 2003 UTC (20 years, 9 months ago) by schorsch
Content type: text/plain
Branch: MAIN
CVS Tags: rad3R6P1, rad3R6
Changes since 1.1: +12 -2 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.2 /* RCSid: $Id: macplot.h,v 1.1 2003/02/22 02:07:26 greg Exp $ */
2 greg 1.1 /*
3     * Definitions for MacIntosh plotting routines
4     */
5 schorsch 1.2 #ifndef _RAD_MACPLOT_H_
6     #define _RAD_MACPLOT_H_
7 greg 1.1
8     #undef TRUE
9     #undef FALSE
10    
11     #include <quickdraw.h>
12    
13 schorsch 1.2 #ifdef __cplusplus
14     extern "C" {
15     #endif
16 greg 1.1
17     #define mapx(x) CONV(x, dxsize)
18    
19     #define mapy(y) (dysize - 1 - CONV(y, dysize))
20    
21    
22     extern int pati[];
23    
24     extern Pattern macpat[]; /* fill patterns */
25    
26     extern dxsize, dysize; /* plot dimensions */
27 schorsch 1.2
28     #ifdef __cplusplus
29     }
30     #endif
31     #endif /* _RAD_MACPLOT_H_ */
32