diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2009-08-16 18:04:54 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2009-08-29 08:08:39 +0100 |
commit | 658cdc7c9aac23f82f3ea5db8df10844aeb3ac75 (patch) | |
tree | d713b560009c59e252f105b1f5ca86ca221209b9 /src/cairo-surface-wrapper.c | |
parent | 4ae7186719b25f052b875549cc5377e16a557512 (diff) | |
download | cairo-658cdc7c9aac23f82f3ea5db8df10844aeb3ac75.tar.gz |
Introduce cairo_tee_surface_t
Add a new surface type that multiplies it input onto several output
surfaces. The only limitation is that it requires a master surface that is
used whenever we need to query surface options, such as font options and
extents.
Diffstat (limited to 'src/cairo-surface-wrapper.c')
-rw-r--r-- | src/cairo-surface-wrapper.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/cairo-surface-wrapper.c b/src/cairo-surface-wrapper.c index 12d67836d..0d1dc5156 100644 --- a/src/cairo-surface-wrapper.c +++ b/src/cairo-surface-wrapper.c @@ -429,6 +429,13 @@ _cairo_surface_wrapper_get_extents (cairo_surface_wrapper_t *wrapper, return _cairo_surface_get_extents (wrapper->target, extents); } +void +_cairo_surface_wrapper_get_font_options (cairo_surface_wrapper_t *wrapper, + cairo_font_options_t *options) +{ + return cairo_surface_get_font_options (wrapper->target, options); +} + cairo_surface_t * _cairo_surface_wrapper_snapshot (cairo_surface_wrapper_t *wrapper) { |