diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2009-08-13 21:59:12 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2009-08-29 08:08:37 +0100 |
commit | 7306305cc898c9f27957c6c6717028cbdcff6a5a (patch) | |
tree | f983b7d2293473a91b5baa653789ba43ee279872 /util | |
parent | 052211b072788f0977dccebdcf681d4874f2487a (diff) |
[script] Emit surface content
Include the desired content with the creation info.
Diffstat (limited to 'util')
-rw-r--r-- | util/cairo-trace/trace.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/util/cairo-trace/trace.c b/util/cairo-trace/trace.c index 7a6219d3..20c85557 100644 --- a/util/cairo-trace/trace.c +++ b/util/cairo-trace/trace.c @@ -4146,22 +4146,25 @@ cairo_xlib_surface_create_with_xrender_format (Display *dpy, #include <cairo-script.h> cairo_surface_t * cairo_script_surface_create (cairo_script_context_t *ctx, + cairo_content_t content, double width, double height) { cairo_surface_t *ret; long surface_id; - ret = DLCALL (cairo_script_surface_create, ctx, width, height); + ret = DLCALL (cairo_script_surface_create, ctx, content, width, height); surface_id = _create_surface_id (ret); _emit_line_info (); if (_write_lock ()) { _trace_printf ("dict\n" " /type /script set\n" + " /content %s set\n" " /width %g set\n" " /height %g set\n" " surface dup /s%ld exch def\n", + _content_to_string (content), width, height, surface_id); _surface_object_set_size (ret, width, height); |