From 4fcdc364cd3f9d7d5cd8026adac23a651b608781 Mon Sep 17 00:00:00 2001 From: Adrian Johnson Date: Tue, 8 Jul 2008 21:12:54 +0930 Subject: Add paginated surface backend function _set_fallback_images_required --- src/cairo-paginated-private.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/cairo-paginated-private.h') diff --git a/src/cairo-paginated-private.h b/src/cairo-paginated-private.h index f2f80db3..0c042746 100644 --- a/src/cairo-paginated-private.h +++ b/src/cairo-paginated-private.h @@ -67,6 +67,14 @@ struct _cairo_paginated_surface_backend { cairo_warn cairo_int_status_t (*set_bounding_box) (void *surface, cairo_box_t *bbox); + + /* Optional. Indicates whether the page requires fallback images. + * Will be called at the end of the ANALYZE phase but before the + * mode is changed to RENDER. + */ + cairo_warn cairo_int_status_t + (*set_fallback_images_required)(void *surface, + cairo_bool_t fallbacks_required); }; /* A #cairo_paginated_surface_t provides a very convenient wrapper that -- cgit v1.2.3