Add PNG save support

This commit is contained in:
2014-10-05 19:36:44 +02:00
parent 52ff709e14
commit f4749dea65
6 changed files with 27 additions and 2 deletions

View File

@@ -2039,6 +2039,15 @@ ag_chart_export_jpg_to_file(AgChart *chart,
ag_chart_export_to_image(chart, file, theme, "jpeg", err);
}
void
ag_chart_export_png_to_file(AgChart *chart,
GFile *file,
AgDisplayTheme *theme,
GError **err)
{
ag_chart_export_to_image(chart, file, theme, "png", err);
}
void
ag_chart_set_note(AgChart *chart, const gchar *note)
{