summaryrefslogtreecommitdiff
path: root/src/test-fallback-surface.c
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2006-02-28 00:55:27 -0800
committerCarl Worth <cworth@cworth.org>2006-02-28 00:55:27 -0800
commit1dd6e417c10c90894c87565d4f7fa3f63e97f212 (patch)
treeed0c1b68793e8d7076bcd1180a57ef6df839d7dc /src/test-fallback-surface.c
parentcd84e2ab32fe4648f9d172cdefe08798336938d2 (diff)
Add testing for cairo_surface_get_type.
All test targets now list an expected cairo_surface_type_t. Add notes on current limitations of PDF/PS/meta-surface support that causes CAIRO_CONTENT_COLOR similar surfaces of PDF and PS surfaces to be returned as image surfaces. Add cairo_internal_surface_type_t for the meta, paginated, and various test surfaces.
Diffstat (limited to 'src/test-fallback-surface.c')
-rw-r--r--src/test-fallback-surface.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test-fallback-surface.c b/src/test-fallback-surface.c
index fe0cc6fb..cb8fd92a 100644
--- a/src/test-fallback-surface.c
+++ b/src/test-fallback-surface.c
@@ -175,6 +175,7 @@ _test_fallback_surface_get_extents (void *abstract_surface,
}
const cairo_surface_backend_t test_fallback_surface_backend = {
+ CAIRO_INTERNAL_SURFACE_TYPE_TEST_FALLBACK,
_test_fallback_surface_create_similar,
_test_fallback_surface_finish,
_test_fallback_surface_acquire_source_image,