summaryrefslogtreecommitdiff
path: root/src/cairo-pdf-surface-private.h
diff options
context:
space:
mode:
authorAdrian Johnson <ajohnson@redneon.com>2008-11-23 21:12:08 +1030
committerAdrian Johnson <ajohnson@redneon.com>2008-11-24 22:27:09 +1030
commitc4a57385fa2e69020f43519bea21b98182bf5fd7 (patch)
tree6e4d4fb095241e34dc2000e98d7e79682a9eb559 /src/cairo-pdf-surface-private.h
parentd85e836911d661275c29f2348a047e5d911f9004 (diff)
PDF: Add cairo_pdf_surface_restrict_to_version API
Now that we are using PDF 1.5 features, add an api to select between version 1.4 or 1.5.
Diffstat (limited to 'src/cairo-pdf-surface-private.h')
-rw-r--r--src/cairo-pdf-surface-private.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cairo-pdf-surface-private.h b/src/cairo-pdf-surface-private.h
index 7f2764ff..d2fa43c4 100644
--- a/src/cairo-pdf-surface-private.h
+++ b/src/cairo-pdf-surface-private.h
@@ -128,12 +128,14 @@ struct _cairo_pdf_surface {
cairo_pdf_resource_t next_available_resource;
cairo_pdf_resource_t pages_resource;
+ cairo_pdf_version_t pdf_version;
cairo_bool_t compress_content;
cairo_pdf_resource_t content;
cairo_pdf_resource_t content_resources;
cairo_pdf_group_resources_t resources;
cairo_bool_t has_fallback_images;
+ cairo_bool_t header_emitted;
struct {
cairo_bool_t active;