X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foutput%2Fcairo-chart.h;h=18c242efcebd0c779f74e9b4cba3f540f0256140;hb=8642df034e82487ec7ff476fbfbacbd5b65eb88a;hp=f02fd4efac9ef80a9007ce3429203891ae772181;hpb=f8659933d48c5682010d1e1f04ae7acb5cbcd611;p=pspp diff --git a/src/output/cairo-chart.h b/src/output/cairo-chart.h index f02fd4efac..18c242efce 100644 --- a/src/output/cairo-chart.h +++ b/src/output/cairo-chart.h @@ -22,8 +22,8 @@ #include #include "libpspp/compiler.h" -struct chart_item; struct cell_color; +struct chart; struct xrchart_colour { @@ -159,40 +159,40 @@ void xrchart_line (cairo_t *, const struct xrchart_geometry *, double limit1, double limit2, enum xrchart_dim lim_dim); /* Drawing various kinds of charts. */ -void xrchart_draw_boxplot (const struct chart_item *, cairo_t *, +void xrchart_draw_boxplot (const struct chart *, cairo_t *, struct xrchart_geometry *); -void xrchart_draw_roc (const struct chart_item *, cairo_t *, +void xrchart_draw_roc (const struct chart *, cairo_t *, struct xrchart_geometry *); -void xrchart_draw_piechart (const struct chart_item *, cairo_t *, +void xrchart_draw_piechart (const struct chart *, cairo_t *, struct xrchart_geometry *); -void xrchart_draw_barchart (const struct chart_item *, cairo_t *, +void xrchart_draw_barchart (const struct chart *, cairo_t *, struct xrchart_geometry *); -void xrchart_draw_histogram (const struct chart_item *, cairo_t *, +void xrchart_draw_histogram (const struct chart *, cairo_t *, struct xrchart_geometry *); -void xrchart_draw_np_plot (const struct chart_item *, cairo_t *, +void xrchart_draw_np_plot (const struct chart *, cairo_t *, struct xrchart_geometry *); -void xrchart_draw_scree (const struct chart_item *, cairo_t *, +void xrchart_draw_scree (const struct chart *, cairo_t *, struct xrchart_geometry *); -void xrchart_draw_spreadlevel (const struct chart_item *, cairo_t *, +void xrchart_draw_spreadlevel (const struct chart *, cairo_t *, struct xrchart_geometry *); -void xrchart_draw_scatterplot (const struct chart_item *, cairo_t *, +void xrchart_draw_scatterplot (const struct chart *, cairo_t *, struct xrchart_geometry *); -void xr_draw_chart (const struct chart_item *, cairo_t *, +void xr_draw_chart (const struct chart *, cairo_t *, double width, double height); -cairo_surface_t *xr_draw_image_chart (const struct chart_item *, +cairo_surface_t *xr_draw_image_chart (const struct chart *, const struct cell_color *fg, const struct cell_color *bg); char *xr_write_png_image (cairo_surface_t *, const char *file_name_template, int number); -char *xr_draw_png_chart (const struct chart_item *, +char *xr_draw_png_chart (const struct chart *, const char *file_name_template, int number, const struct cell_color *fg, const struct cell_color *bg); -char *xr_draw_eps_chart (const struct chart_item *item, +char *xr_draw_eps_chart (const struct chart *, const char *file_name_template, int number, const struct cell_color *fg, const struct cell_color *bg);