projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add support for PNG images in .spv files.
[pspp]
/
src
/
output
/
cairo-chart.h
diff --git
a/src/output/cairo-chart.h
b/src/output/cairo-chart.h
index bbcc606d31ddb6216c58d3dfef61fc6662bb14e5..f02fd4efac9ef80a9007ce3429203891ae772181 100644
(file)
--- a/
src/output/cairo-chart.h
+++ b/
src/output/cairo-chart.h
@@
-181,6
+181,12
@@
void xrchart_draw_scatterplot (const struct chart_item *, cairo_t *,
void xr_draw_chart (const struct chart_item *, cairo_t *,
double width, double height);
void xr_draw_chart (const struct chart_item *, cairo_t *,
double width, double height);
+cairo_surface_t *xr_draw_image_chart (const struct chart_item *,
+ 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 *,
const char *file_name_template, int number,
const struct cell_color *fg,
char *xr_draw_png_chart (const struct chart_item *,
const char *file_name_template, int number,
const struct cell_color *fg,