Code

Fixed const/non-const mismatch loop.
[inkscape.git] / src / helper / png-write.h
1 #ifndef __SP_PNG_WRITE_H__
2 #define __SP_PNG_WRITE_H__
4 /*
5  * PNG file format utilities
6  *
7  * Authors:
8  *   Lauris Kaplinski <lauris@kaplinski.com>
9  *
10  * Copyright (C) 1999-2002 Lauris Kaplinski
11  *
12  * Released under GNU GPL, read the file 'COPYING' for more information
13  */
15 #include <glib/gtypes.h>
16 #include <2geom/forward.h>
17 struct SPDocument;
19 bool sp_export_png_file (SPDocument *doc, gchar const *filename,
20             double x0, double y0, double x1, double y1,
21             unsigned long int width, unsigned long int height, double xdpi, double ydpi,
22             unsigned long bgcolor,
23             unsigned int (*status) (float, void *), void *data, bool force_overwrite = false, GSList *items_only = NULL);
24 bool sp_export_png_file (SPDocument *doc, gchar const *filename,
25             Geom::Rect const &area,
26             unsigned long int width, unsigned long int height, double xdpi, double ydpi,
27             unsigned long bgcolor,
28             unsigned int (*status) (float, void *), void *data, bool force_overwrite = false, GSList *items_only = NULL);
30 #endif