}
}
+static void xr_draw_chart (const struct chart_item *, cairo_t *,
+ double x, double y, double width, double height);
+
/* Draws onto CR at least the region of R that is enclosed in (X,Y)-(X+W,Y+H),
and possibly some additional parts. */
void
0, 0, CHART_WIDTH, CHART_HEIGHT);
}
-void
+static void
xr_draw_chart (const struct chart_item *chart_item, cairo_t *cr,
double x, double y, double width, double height)
{
bool xr_driver_is_page_blank (const struct xr_driver *);
/* Render charts with Cairo. */
-void xr_draw_chart (const struct chart_item *, cairo_t *,
- double x, double y, double width, double height);
char *xr_draw_png_chart (const struct chart_item *,
const char *file_name_template, int number);