diff options
author | Keith Packard <keithp@keithp.com> | 2011-12-02 14:57:24 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2011-12-02 15:31:51 +0000 |
commit | b9d4a5f1068ac038ca47fdad7dcf05dfa21b211b (patch) | |
tree | 362afed5ac25d326798610a31d5921c90744021f /src/cairo-xcb.h | |
parent | a30013f72a4096085d1ddd60180644132ae87522 (diff) | |
download | cairo-b9d4a5f1068ac038ca47fdad7dcf05dfa21b211b.tar.gz |
Add cairo_xcb_surface_set_drawable
Mirrors cairo_xlib_surface_set_drawable, allowing the drawable
targeted by a surface to be changed on the fly.
Signed-off-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/cairo-xcb.h')
-rw-r--r-- | src/cairo-xcb.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cairo-xcb.h b/src/cairo-xcb.h index 4bfb0b581..e321d8482 100644 --- a/src/cairo-xcb.h +++ b/src/cairo-xcb.h @@ -75,6 +75,12 @@ cairo_xcb_surface_set_size (cairo_surface_t *surface, int width, int height); +cairo_public void +cairo_xcb_surface_set_drawable (cairo_surface_t *surface, + xcb_drawable_t drawable, + int width, + int height); + cairo_public xcb_connection_t * cairo_xcb_device_get_connection (cairo_device_t *device); |