X-Git-Url: https://git.cworth.org/git?p=spritext;a=blobdiff_plain;f=spritext.c;fp=spritext.c;h=a188f3e04328b0279dbcb90e6f0cd376348d57c4;hp=9bcffbef94c59a5300c756d4538a925adcc351ff;hb=d8ee2429802e93ac01ddf3d42a9fb3a37b761e03;hpb=5ea4606a7e91d6cfa3489fabaea971a65da6cc46 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);