diff options
author | Adrian Johnson <ajohnson@redneon.com> | 2016-06-04 14:43:43 +0930 |
---|---|---|
committer | Adrian Johnson <ajohnson@redneon.com> | 2016-06-05 20:43:36 +0930 |
commit | 1c5ec6e3806587eff1fbb640c63838ef2768c2cb (patch) | |
tree | 4c980b5835f88fb8c2dc160ae087a780c6caa7a5 /src/cairo-debug.c | |
parent | a14d319e4385033d726861dcd448154d393ffc53 (diff) | |
download | cairo-1c5ec6e3806587eff1fbb640c63838ef2768c2cb.tar.gz |
Fix PS record-neg-extents test failure
Diffstat (limited to 'src/cairo-debug.c')
-rw-r--r-- | src/cairo-debug.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/cairo-debug.c b/src/cairo-debug.c index dbc9e2f2c..1f32b19b3 100644 --- a/src/cairo-debug.c +++ b/src/cairo-debug.c @@ -311,3 +311,11 @@ _cairo_debug_print_matrix (FILE *file, const cairo_matrix_t *matrix) matrix->xy, matrix->yy, matrix->x0, matrix->y0); } + +void +_cairo_debug_print_rect (FILE *file, const cairo_rectangle_int_t *rect) +{ + fprintf (file, "x: %d y: %d width: %d height: %d\n", + rect->x, rect->y, + rect->width, rect->height); +} |