summaryrefslogtreecommitdiff
path: root/src/cairo-pdf-surface-private.h
diff options
context:
space:
mode:
authorAdrian Johnson <ajohnson@redneon.com>2012-01-10 00:11:41 +1030
committerAdrian Johnson <ajohnson@redneon.com>2012-01-11 23:06:34 +1030
commit0a10982f8c4f08018f50ec73663761ccf7b9c839 (patch)
tree0c35977778f27b88d5636e973bacfafdfcbd49d4 /src/cairo-pdf-surface-private.h
parentfefc273c53c39c750b27d35964ec250547b948af (diff)
downloadcairo-0a10982f8c4f08018f50ec73663761ccf7b9c839.tar.gz
pdf: support RASTER_SOURCE patterns
Diffstat (limited to 'src/cairo-pdf-surface-private.h')
-rw-r--r--src/cairo-pdf-surface-private.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cairo-pdf-surface-private.h b/src/cairo-pdf-surface-private.h
index 1e174fe16..a58fbbf58 100644
--- a/src/cairo-pdf-surface-private.h
+++ b/src/cairo-pdf-surface-private.h
@@ -75,11 +75,15 @@ typedef struct _cairo_pdf_source_surface_entry {
cairo_pdf_resource_t surface_res;
int width;
int height;
+ double x_offset;
+ double y_offset;
cairo_rectangle_int_t extents;
} cairo_pdf_source_surface_entry_t;
typedef struct _cairo_pdf_source_surface {
+ cairo_pattern_type_t type;
cairo_surface_t *surface;
+ cairo_pattern_t *raster_pattern;
cairo_pdf_source_surface_entry_t *hash_entry;
} cairo_pdf_source_surface_t;