summaryrefslogtreecommitdiff
path: root/src/cairo-pdf-surface-private.h
diff options
context:
space:
mode:
authorAdrian Johnson <ajohnson@redneon.com>2007-09-25 23:04:03 +0930
committerAdrian Johnson <ajohnson@redneon.com>2007-09-25 23:04:03 +0930
commitbe327a7b49a62c684e133aad5d5d6adec30b60e6 (patch)
tree58c8acb816db9168eeaa1b1653c5f4a6f10f770d /src/cairo-pdf-surface-private.h
parent99fd9449c24055fd7b3623157397fe61282e2de0 (diff)
PDF: Compress the content stream
The content stream compression that was previously implemented was inadvertently bypassed when the new stream handling for meta surface patterns was implemented.
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 0de4c0f7..28b6fd1b 100644
--- a/src/cairo-pdf-surface-private.h
+++ b/src/cairo-pdf-surface-private.h
@@ -83,6 +83,8 @@ struct _cairo_pdf_surface {
cairo_pdf_resource_t next_available_resource;
cairo_pdf_resource_t pages_resource;
+ cairo_bool_t compress_content;
+
struct {
cairo_bool_t active;
cairo_pdf_resource_t self;
@@ -95,6 +97,7 @@ struct _cairo_pdf_surface {
struct {
cairo_bool_t active;
cairo_output_stream_t *stream;
+ cairo_output_stream_t *mem_stream;
cairo_output_stream_t *old_output;
cairo_pdf_group_resources_t resources;
cairo_bool_t is_knockout;
@@ -104,6 +107,7 @@ struct _cairo_pdf_surface {
struct {
cairo_bool_t active;
cairo_output_stream_t *stream;
+ cairo_output_stream_t *mem_stream;
cairo_output_stream_t *old_output;
cairo_pdf_group_resources_t resources;
} content_stream;