summaryrefslogtreecommitdiff
path: root/src/cairo-pdf-surface-private.h
diff options
context:
space:
mode:
authorAdrian Johnson <ajohnson@redneon.com>2007-09-16 19:43:28 +0930
committerAdrian Johnson <ajohnson@redneon.com>2007-09-16 19:43:28 +0930
commit14786385b40aa0ae83e3b077a82e3f34aba63f22 (patch)
treee6bf02991466815635977cd0ce9452e86250c9b7 /src/cairo-pdf-surface-private.h
parent46cb7e69526e8b5663077e7409dc232a0f56800b (diff)
downloadcairo-14786385b40aa0ae83e3b077a82e3f34aba63f22.tar.gz
Change paginated surface size when PS/PDF _set_size() called
The finer-grained fallbacks would not work correctly if the page was set to a larger size. Add _cairo_paginated_surface_set_size() function that is called from cairo_ps_surface_set_size() and cairo_pdf_surface_set_size().
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 99b539327..0de4c0f78 100644
--- a/src/cairo-pdf-surface-private.h
+++ b/src/cairo-pdf-surface-private.h
@@ -124,6 +124,8 @@ struct _cairo_pdf_surface {
cairo_paginated_mode_t paginated_mode;
cairo_bool_t force_fallbacks;
+
+ cairo_surface_t *paginated_surface;
};
#endif /* CAIRO_PDF_SURFACE_PRIVATE_H */