diff options
author | Carl Worth <cworth@cworth.org> | 2006-01-11 11:53:33 +0000 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2006-01-11 11:53:33 +0000 |
commit | c23d7d4758c7915505437b0fc8b57df9ef628289 (patch) | |
tree | 1d49c62e1c2d2446c5ae4c21adecbebfa3ad1587 /src/cairo-paginated-surface-private.h | |
parent | 953561ebbd7e58ecb3e6cec0e2446cf3dac3f146 (diff) | |
download | cairo-c23d7d4758c7915505437b0fc8b57df9ef628289.tar.gz |
Note that from here on out, the PDF output should always pass the entire test suite!
Add new functions needed by users of cairo_paginated_surface_t.
Always snapshot a paginated surface to an image surface, rather than a surface similar to the target. We do this since paginated target surfaces are allowed to not be complete surfaces, (such as not implementing acquire_source_surface).
Switch the implementation of cairo_pdf_surface_t to use cairo_paginated_surface_t. For now this means that all PDF output is fallback images, but this can change incrementally as we go forward.
Diffstat (limited to 'src/cairo-paginated-surface-private.h')
-rw-r--r-- | src/cairo-paginated-surface-private.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cairo-paginated-surface-private.h b/src/cairo-paginated-surface-private.h index ccec6047b..eef07178f 100644 --- a/src/cairo-paginated-surface-private.h +++ b/src/cairo-paginated-surface-private.h @@ -43,4 +43,10 @@ _cairo_paginated_surface_create (cairo_surface_t *target, int width, int height); +cairo_private cairo_surface_t * +_cairo_paginated_surface_get_target (cairo_surface_t *surface); + +cairo_bool_t +_cairo_surface_is_paginated (cairo_surface_t *surface); + #endif /* CAIRO_PAGINATED_SURFACE_H */ |