Commit e1137e53 authored by Christian Persch's avatar Christian Persch

Add xml and recording surface output to rsvg-convert

This is useful mainly for debugging purposes.
parent 43a4c9dd
......@@ -343,8 +343,12 @@ main (int argc, char **argv)
cairo_device_destroy (device);
}
#endif
else
else if (!strcmp (format, "xml"))
;
else if (!strcmp (format, "svg") || !strcmp (format, "pdf") || !strcmp (format, "ps"))
cairo_show_page (cr);
else
g_assert_not_reached ();
g_object_unref (rsvg);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment