+static void
+draw_svg (acre_t *acre, int width, int height, double x_min, double x_max)
+{
+ cairo_t *cr;
+ cairo_surface_t *surface;
+
+ surface = cairo_svg_surface_create ("acre-fips.svg", width, height);
+
+ cr = cairo_create (surface);
+
+ acre_set_x_axis_range (acre, x_min, x_max);
+ acre_draw (acre, cr, width, height);
+
+ cairo_destroy (cr);
+
+ cairo_surface_destroy (surface);
+}
+