summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'base/gsiparam.h')
-rw-r--r--base/gsiparam.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/base/gsiparam.h b/base/gsiparam.h
index 2bad83bd..af9044b9 100644
--- a/base/gsiparam.h
+++ b/base/gsiparam.h
@@ -150,6 +150,10 @@ typedef enum {
/* Define an opaque type for a color space. */
typedef struct gs_color_space_s gs_color_space;
+/* NOTE: Ensure that this macro always ends on a pointer
+ * (or on something that will align at least with a pointer).
+ * Otherwise you'll get problems on 64bit builds, presumably
+ * because something is doing sizeof(this) ? */
#define gs_pixel_image_common\
gs_data_image_common;\
/*\
@@ -162,6 +166,14 @@ typedef struct gs_color_space_s gs_color_space;
* see the discussion of RasterOp in Language.htm.\
*/\
bool CombineWithColor;\
+ /*\
+ * Usually we can tell whether we are in an smask\
+ * by asking the device we are in. Sometimes (like\
+ * when dealing with the masked portion of a type 3\
+ * image), we are using a different device, and so\
+ * can't use that method. Instead the caller will\
+ * indicate it here. */\
+ int override_in_smask;\
/*\
* Define the source color space (must be NULL for masks).\
*\