summaryrefslogtreecommitdiffstats
path: root/src/helper/png-write.h
blob: 3f1e1761f17da26dbc0b79283814c063723667cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef __SP_PNG_WRITE_H__
#define __SP_PNG_WRITE_H__

/*
 * PNG file format utilities
 *
 * Authors:
 *   Lauris Kaplinski <lauris@kaplinski.com>
 *
 * Copyright (C) 1999-2002 Lauris Kaplinski
 *
 * Released under GNU GPL, read the file 'COPYING' for more information
 */

#include <glib/gtypes.h>
struct SPDocument;

bool sp_export_png_file (SPDocument *doc, gchar const *filename,
			 double x0, double y0, double x1, double y1,
			 unsigned int width, unsigned int height, double xdpi, double ydpi,
			 unsigned long bgcolor,
			 unsigned int (*status) (float, void *), void *data, bool force_overwrite = false, GSList *items_only = NULL);

#endif