diff options
| author | Peter Moulder <peter.moulder@monash.edu> | 2007-06-25 11:31:46 +0000 |
|---|---|---|
| committer | pjrm <pjrm@users.sourceforge.net> | 2007-06-25 11:31:46 +0000 |
| commit | db086629663591e80ec89982acbb32c86953bc42 (patch) | |
| tree | e459d61618dcf3d0df0eb7993b2c0466f75e3f00 /src/helper/png-write.h | |
| parent | noop: (sp_export_png_file): Switch from NRMatrix to NR::Matrix. (diff) | |
| download | inkscape-db086629663591e80ec89982acbb32c86953bc42.tar.gz inkscape-db086629663591e80ec89982acbb32c86953bc42.zip | |
Remove unused function sp_png_write_rgba (and its helper function sp_png_get_block_stripe).
(sp_png_write_rgba_striped): Don't export this function. Change return type from int to bool.
(sp_export_png_file): Change return type from int to bool.
(bzr r3103)
Diffstat (limited to 'src/helper/png-write.h')
| -rw-r--r-- | src/helper/png-write.h | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/src/helper/png-write.h b/src/helper/png-write.h index bd4f31699..3f1e1761f 100644 --- a/src/helper/png-write.h +++ b/src/helper/png-write.h @@ -13,19 +13,9 @@ */ #include <glib/gtypes.h> +struct SPDocument; -int sp_png_write_rgba(gchar const *filename, guchar const *px, int width, int height, double xdpi, double ydpi, int rowstride); - -int sp_png_write_rgba_striped(gchar const *filename, int width, int height, double xdpi, double ydpi, - int (* get_rows) (guchar const **rows, int row, int num_rows, void *data), - void *data); - -/** - * Export the given document as a Portable Network Graphics (PNG) - * file. Returns FALSE if an error was encountered while writing - * the file, TRUE otherwise. - */ -int sp_export_png_file (SPDocument *doc, const gchar *filename, +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, |
