1 |
/* RCSid: $Id: macplot.h,v 1.2 2003/07/14 22:24:00 schorsch Exp $ */ |
2 |
/* |
3 |
* Definitions for MacIntosh plotting routines |
4 |
*/ |
5 |
#ifndef _RAD_MACPLOT_H_ |
6 |
#define _RAD_MACPLOT_H_ |
7 |
|
8 |
#undef TRUE |
9 |
#undef FALSE |
10 |
|
11 |
#include <quickdraw.h> |
12 |
|
13 |
#ifdef __cplusplus |
14 |
extern "C" { |
15 |
#endif |
16 |
|
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 |
|
28 |
#ifdef __cplusplus |
29 |
} |
30 |
#endif |
31 |
#endif /* _RAD_MACPLOT_H_ */ |
32 |
|