3 * A few definitions that shouldn't have to change. Used by most programs in
24 #define PI 3.141592654
30 #define READING ONEBYTE
31 #define WRITING ONEBYTE
35 * DOROUND controls whether some translators include file ROUNDPAGE (path.h)
36 * after the prologue. Used to round page dimensions obtained from the clippath
37 * to know paper sizes. Enabled by setting DOROUND to TRUE (or 1).
47 * Default resolution and the height and width of a page (in case we need to get
48 * to upper left corner) - only used in BoundingBox calculations!!
52 #define DEFAULT_RES 72
53 #define PAGEHEIGHT 11.0 * DEFAULT_RES
54 #define PAGEWIDTH 8.5 * DEFAULT_RES
62 #define ABS(A) ((A) >= 0 ? (A) : -(A))
63 #define MIN(A, B) ((A) < (B) ? (A) : (B))
64 #define MAX(A, B) ((A) > (B) ? (A) : (B))