summaryrefslogtreecommitdiff
path: root/boilerplate/cairo-boilerplate.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2008-04-11 11:36:24 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2008-04-11 15:39:11 +0100
commitf57100acd4937486bfb69d38dfc72d42427e2851 (patch)
treefe9d4445d7bab4dc2815182297fd3482886d132e /boilerplate/cairo-boilerplate.h
parente4fc5279cc490b8d7c1f611d73601e6782c944a5 (diff)
downloadcairo-f57100acd4937486bfb69d38dfc72d42427e2851.tar.gz
[test] Handle TEST_CONTENT_COLOR_ALPHA_FLATTENED similar surfaces.
Convert the boilerplate specific flattened content value to the ordinary CAIRO_CONTENT_COLOR_ALPHA for use with cairo_push_group_with_content() - otherwise cairo rightfully flags an error and the test harness decides that the similar surface is not available.
Diffstat (limited to 'boilerplate/cairo-boilerplate.h')
-rw-r--r--boilerplate/cairo-boilerplate.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/boilerplate/cairo-boilerplate.h b/boilerplate/cairo-boilerplate.h
index 7c7aa301c..8efc60974 100644
--- a/boilerplate/cairo-boilerplate.h
+++ b/boilerplate/cairo-boilerplate.h
@@ -95,6 +95,9 @@
* PDF surfaces. */
#define CAIRO_TEST_CONTENT_COLOR_ALPHA_FLATTENED ((unsigned int) -1)
+cairo_content_t
+cairo_boilerplate_content (cairo_content_t content);
+
const char *
cairo_boilerplate_content_name (cairo_content_t content);