diff options
author | Keith Packard <keithp@keithp.com> | 2005-07-21 08:45:57 +0000 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2005-07-21 08:45:57 +0000 |
commit | b3dfbe94c3ec7713904cf5bd1872a0480f96f03a (patch) | |
tree | 0db4ace66cb95e5bdfdda8689956e112f8d5d661 /src/cairo-xlib.h | |
parent | 464ce69689045614a0c44037c77e1261c3fecda5 (diff) |
Add cairo_xlib_surface_set_drawable which changes the target drawable for an xlib cairo_t to another which shares the same format, screen and display.
reviewed by: otaylor, cworth
Diffstat (limited to 'src/cairo-xlib.h')
-rw-r--r-- | src/cairo-xlib.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cairo-xlib.h b/src/cairo-xlib.h index dbe0e15fb..5cdf1378b 100644 --- a/src/cairo-xlib.h +++ b/src/cairo-xlib.h @@ -64,6 +64,12 @@ cairo_xlib_surface_set_size (cairo_surface_t *surface, int width, int height); +void +cairo_xlib_surface_set_drawable (cairo_surface_t *surface, + Drawable drawable, + int width, + int height); + CAIRO_END_DECLS #else /* CAIRO_HAS_XLIB_SURFACE */ |