| * A few definitions that shouldn't have to change. Used by most programs in |
| #define PROGRAMVERSION "3.3.2" |
| /* XXX: replace tempnam with something safer, but leaky */ |
| extern char* safe_tempnam(char*, char*); |
| #define tempnam safe_tempnam |
| * DOROUND controls whether some translators include file ROUNDPAGE (path.h) |
| * after the prologue. Used to round page dimensions obtained from the clippath |
| * to know paper sizes. Enabled by setting DOROUND to TRUE (or 1). |
| * Default resolution and the height and width of a page (in case we need to get |
| * to upper left corner) - only used in BoundingBox calculations!! |
| #define PAGEHEIGHT 11.0 * DEFAULT_RES |
| #define PAGEWIDTH 8.5 * DEFAULT_RES |
| #define ABS(A) ((A) >= 0 ? (A) : -(A)) |
| #define MIN(A, B) ((A) < (B) ? (A) : (B)) |
| #define MAX(A, B) ((A) > (B) ? (A) : (B)) |