summaryrefslogtreecommitdiff
path: root/src/cairo_xcb_surface.c
diff options
context:
space:
mode:
authorDavid Reveman <davidr@novell.com>2004-04-06 09:36:12 +0000
committerDavid Reveman <davidr@novell.com>2004-04-06 09:36:12 +0000
commite309090d2a18a896c67e731151b973b530f76980 (patch)
tree05568843c26c44738d5413269bb2358776df515b /src/cairo_xcb_surface.c
parentb17b04aa388541c0880698aed0f03796a3146d49 (diff)
Added new pattern API
Diffstat (limited to 'src/cairo_xcb_surface.c')
-rw-r--r--src/cairo_xcb_surface.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/cairo_xcb_surface.c b/src/cairo_xcb_surface.c
index e4c9307f..ea1f72e1 100644
--- a/src/cairo_xcb_surface.c
+++ b/src/cairo_xcb_surface.c
@@ -712,6 +712,14 @@ _cairo_xcb_surface_set_clip_region (void *abstract_surface,
return CAIRO_INT_STATUS_UNSUPPORTED;
}
+static cairo_int_status_t
+_cairo_xcb_surface_create_pattern (void *abstract_surface,
+ cairo_pattern_t *pattern,
+ cairo_box_t *extents)
+{
+ return CAIRO_INT_STATUS_UNSUPPORTED;
+}
+
static const struct cairo_surface_backend cairo_xcb_surface_backend = {
_cairo_xcb_surface_create_similar,
_cairo_xcb_surface_destroy,
@@ -726,7 +734,8 @@ static const struct cairo_surface_backend cairo_xcb_surface_backend = {
_cairo_xcb_surface_composite_trapezoids,
_cairo_xcb_surface_copy_page,
_cairo_xcb_surface_show_page,
- _cairo_xcb_surface_set_clip_region
+ _cairo_xcb_surface_set_clip_region,
+ _cairo_xcb_surface_create_pattern
};
static void