[cairo] [PATCH 3/3] observer: Export cairo_device_is_observer function
Rob Bradford
rob at robster.org.uk
Wed Aug 31 11:49:26 PDT 2011
From: Rob Bradford <rob at linux.intel.com>
Signed-off-by: Rob Bradford <rob at linux.intel.com>
---
src/cairo-surface-observer.c | 6 ++++++
src/cairo.h | 3 +++
2 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/src/cairo-surface-observer.c b/src/cairo-surface-observer.c
index 7a56df7..e436f42 100644
--- a/src/cairo-surface-observer.c
+++ b/src/cairo-surface-observer.c
@@ -1950,3 +1950,9 @@ cairo_surface_is_observer (cairo_surface_t *surface)
{
return _cairo_surface_is_observer (surface);
}
+
+cairo_public cairo_bool_t
+cairo_device_is_observer (cairo_device_t *device)
+{
+ return _cairo_device_is_observer (device);
+}
diff --git a/src/cairo.h b/src/cairo.h
index f432a3e..4f329a5 100644
--- a/src/cairo.h
+++ b/src/cairo.h
@@ -2155,6 +2155,9 @@ cairo_surface_observer_print (cairo_surface_t *surface,
cairo_public double
cairo_surface_observer_elapsed (cairo_surface_t *surface);
+cairo_public cairo_bool_t
+cairo_device_is_observer (cairo_device_t *device);
+
cairo_public void
cairo_device_observer_print (cairo_device_t *device,
cairo_write_func_t write_func,
--
1.7.6
More information about the cairo
mailing list