summaryrefslogtreecommitdiff
path: root/src/cairo-quartz-private.h
diff options
context:
space:
mode:
authorAndrea Canciani <ranma42@gmail.com>2010-10-08 09:49:51 +0200
committerAndrea Canciani <ranma42@gmail.com>2010-10-13 00:26:57 +0200
commit6bc1376cf52a9815b75f8c0ce66e149fbc64495e (patch)
tree9c7e668731eba9ef4e3039bd21c8bf5eb150b869 /src/cairo-quartz-private.h
parent08c59c6bf3296cc8c70b71a270a3685227c1621b (diff)
downloadcairo-6bc1376cf52a9815b75f8c0ce66e149fbc64495e.tar.gz
quartz: Remove DO_NOTHING and DO_UNSUPPORTED actions
DO_NOTHING and DO_UNSUPPORTED are not actual actions and are better handled by returning an appropriate cairo_int_status_t (and falling back, if needed).
Diffstat (limited to 'src/cairo-quartz-private.h')
-rw-r--r--src/cairo-quartz-private.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/cairo-quartz-private.h b/src/cairo-quartz-private.h
index 8401a8220..55bc84dfb 100644
--- a/src/cairo-quartz-private.h
+++ b/src/cairo-quartz-private.h
@@ -50,6 +50,14 @@ typedef CGFloat cairo_quartz_float_t;
typedef float cairo_quartz_float_t;
#endif
+typedef enum {
+ DO_SOLID,
+ DO_SHADING,
+ DO_PATTERN,
+ DO_IMAGE,
+ DO_TILED_IMAGE
+} cairo_quartz_action_t;
+
typedef struct cairo_quartz_surface {
cairo_surface_t base;
@@ -66,6 +74,7 @@ typedef struct cairo_quartz_surface {
/* These are stored while drawing operations are in place, set up
* by quartz_setup_source() and quartz_finish_source()
*/
+ cairo_quartz_action_t action;
CGAffineTransform sourceTransform;
CGImageRef sourceImage;