summaryrefslogtreecommitdiff
path: root/src/cairo-quartz-private.h
diff options
context:
space:
mode:
authorAndrea Canciani <ranma42@gmail.com>2010-07-29 15:06:39 +0200
committerAndrea Canciani <ranma42@gmail.com>2010-10-13 00:27:01 +0200
commit51a6ae9d71daefdca214fdc48e1bb8fcba10029d (patch)
tree185f50c5920c613b838d26a54f95d38ccb88d732 /src/cairo-quartz-private.h
parentc22e75e9f6cb471c764af0d721ad07cdf30a3bad (diff)
downloadcairo-51a6ae9d71daefdca214fdc48e1bb8fcba10029d.tar.gz
quartz: Unify DO_SOLID and DO_PATTERN
Both DO_SOLID and DO_PATTERN setup the underlying CGContext to directly use the chosen color/pattern when filling and stroking, thus require no additional drawing operations and can share the same drawing code.
Diffstat (limited to 'src/cairo-quartz-private.h')
-rw-r--r--src/cairo-quartz-private.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/cairo-quartz-private.h b/src/cairo-quartz-private.h
index 9a45c66e9..bd12bfb77 100644
--- a/src/cairo-quartz-private.h
+++ b/src/cairo-quartz-private.h
@@ -51,9 +51,8 @@ typedef float cairo_quartz_float_t;
#endif
typedef enum {
- DO_SOLID,
+ DO_DIRECT,
DO_SHADING,
- DO_PATTERN,
DO_IMAGE,
DO_TILED_IMAGE
} cairo_quartz_action_t;
@@ -82,7 +81,6 @@ typedef struct cairo_quartz_surface {
CGRect sourceImageRect;
CGShadingRef sourceShading;
- CGPatternRef sourcePattern;
} cairo_quartz_surface_t;
typedef struct cairo_quartz_image_surface {