From d8ee2429802e93ac01ddf3d42a9fb3a37b761e03 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Wed, 13 Feb 2008 10:21:56 -0800 Subject: [PATCH] Make spritext write its output to a PNG file --- spritext.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/spritext.c b/spritext.c index 9bcffbe..a188f3e 100644 --- a/spritext.c +++ b/spritext.c @@ -297,6 +297,9 @@ cairo_pattern_destroy (gradient); } #endif + cairo_surface_write_to_png (surface, "spritext-output.png"); + printf ("Result written to spritext-output.png\n"); + cairo_destroy (cr); cairo_surface_destroy (surface); -- 2.43.0