diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-09-05 16:12:26 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-09-05 16:12:26 +0100 |
commit | a4164142f2a21fb005533d1c5b3cf668c99d1259 (patch) | |
tree | 3487a4c2404a6564e664081c1f4a8426b086fb04 | |
parent | 935c64a43409a80d9b19d491f9133004152de9bb (diff) |
trace: Record set-device-scale
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r-- | util/cairo-trace/trace.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/util/cairo-trace/trace.c b/util/cairo-trace/trace.c index 085059f31..05e97d267 100644 --- a/util/cairo-trace/trace.c +++ b/util/cairo-trace/trace.c @@ -3884,6 +3884,18 @@ cairo_surface_set_device_offset (cairo_surface_t *surface, double x_offset, doub } void +cairo_surface_set_device_scale (cairo_surface_t *surface, double x_offset, double y_offset) +{ + _enter_trace (); + _emit_line_info (); + _emit_surface_op (surface, "%g %g set-device-scale\n", + x_offset, y_offset); + DLCALL (cairo_surface_set_device_scale, surface, x_offset, y_offset); + _exit_trace (); +} + + +void cairo_surface_set_fallback_resolution (cairo_surface_t *surface, double x_pixels_per_inch, double y_pixels_per_inch) { _enter_trace (); |