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