From 53bf2f8d5dd82e9cff0960ebec536597bc7701e9 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Wed, 7 Jun 2006 10:29:33 -0700 Subject: [PATCH] Remove debugging "prints" of images from test/device-offset.c --- test/device-offset.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/test/device-offset.c b/test/device-offset.c index 9418c6030..6a23226bc 100644 --- a/test/device-offset.c +++ b/test/device-offset.c @@ -51,12 +51,10 @@ draw (cairo_t *cr, int width, int height) cairo_surface_t *surface, *target; cairo_t *cr2; - /* First draw a shape in black on the original destination. */ + /* First draw a shape in blue on the original destination. */ cairo_set_source_rgb (cr, 0, 0, 1); /* blue */ draw_square (cr); - cairo_surface_write_to_png (cairo_get_target (cr), "/tmp/a.png"); - /* Then, create an offset surface and repeat the drawing in red. */ target = cairo_get_target (cr); surface = cairo_surface_create_similar (target, @@ -68,8 +66,6 @@ draw (cairo_t *cr, int width, int height) cairo_set_source_rgb (cr2, 1, 0, 0); /* red */ draw_square (cr2); - cairo_surface_write_to_png (surface, "/tmp/b.png"); - cairo_destroy (cr2); /* Finally, copy the offset surface to the original destination. @@ -79,8 +75,6 @@ draw (cairo_t *cr, int width, int height) cairo_paint (cr); - cairo_surface_write_to_png (cairo_get_target (cr), "/tmp/c.png"); - cairo_surface_destroy (surface); return CAIRO_TEST_SUCCESS;