summaryrefslogtreecommitdiff
path: root/src/cairo-quartz-private.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cairo-quartz-private.h')
-rw-r--r--src/cairo-quartz-private.h22
1 files changed, 8 insertions, 14 deletions
diff --git a/src/cairo-quartz-private.h b/src/cairo-quartz-private.h
index 38f0d8f..beac884 100644
--- a/src/cairo-quartz-private.h
+++ b/src/cairo-quartz-private.h
@@ -50,6 +50,13 @@ typedef CGFloat cairo_quartz_float_t;
typedef float cairo_quartz_float_t;
#endif
+typedef enum {
+ DO_DIRECT,
+ DO_SHADING,
+ DO_IMAGE,
+ DO_TILED_IMAGE
+} cairo_quartz_action_t;
+
typedef struct cairo_quartz_surface {
cairo_surface_t base;
@@ -61,20 +68,7 @@ typedef struct cairo_quartz_surface {
cairo_surface_clipper_t clipper;
cairo_rectangle_int_t extents;
-
- /* These are stored while drawing operations are in place, set up
- * by quartz_setup_source() and quartz_finish_source()
- */
- CGAffineTransform sourceTransform;
-
- CGImageRef sourceImage;
- cairo_surface_t *sourceImageSurface;
- CGRect sourceImageRect;
-
- CGShadingRef sourceShading;
- CGPatternRef sourcePattern;
-
- CGInterpolationQuality oldInterpolationQuality;
+ cairo_rectangle_int_t virtual_extents;
} cairo_quartz_surface_t;
typedef struct cairo_quartz_image_surface {