[cairo-commit] src/cairo-win32-printing-surface.c
Chris Wilson
ickle at kemper.freedesktop.org
Wed Oct 8 05:53:06 PDT 2008
src/cairo-win32-printing-surface.c | 8 ++++++++
1 file changed, 8 insertions(+)
New commits:
commit 59141e56a723f741c87e2eaa37bf96e243ac5728
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Wed Oct 8 13:50:28 2008 +0100
[win32] Restore fine-grained fallback support for printing.
Missed updating win32 when implementing the new paginated API to query
support for the fine-grained fallbacks.
(Thanks to Adrian for spotting this oversight.)
diff --git a/src/cairo-win32-printing-surface.c b/src/cairo-win32-printing-surface.c
index 1ffedad..2c2f061 100644
--- a/src/cairo-win32-printing-surface.c
+++ b/src/cairo-win32-printing-surface.c
@@ -1522,6 +1522,12 @@ _cairo_win32_printing_surface_set_paginated_mode (void *abstract_surface,
surface->paginated_mode = paginated_mode;
}
+static cairo_bool_t
+_cairo_win32_printing_surface_supports_fine_grained_fallbacks (void *abstract_surface)
+{
+ return TRUE;
+}
+
/**
* cairo_win32_printing_surface_create:
* @hdc: the DC to create a surface for
@@ -1642,4 +1648,6 @@ static const cairo_paginated_surface_backend_t cairo_win32_surface_paginated_bac
_cairo_win32_printing_surface_start_page,
_cairo_win32_printing_surface_set_paginated_mode,
NULL, /* set_bounding_box */
+ NULL, /* _cairo_win32_printing_surface_has_fallback_images, */
+ _cairo_win32_printing_surface_supports_fine_grained_fallbacks,
};
More information about the cairo-commit
mailing list