ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/meta/macplot.h
Revision: 1.3
Committed: Fri Nov 5 03:31:37 2004 UTC (20 years, 6 months ago) by greg
Content type: text/plain
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
State: FILE REMOVED
Log Message:
Removed unused programs and files from distribution (sources to CVS attic)

File Contents

# User Rev Content
1 greg 1.3 /* RCSid: $Id: macplot.h,v 1.2 2003/07/14 22:24:00 schorsch 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