summaryrefslogtreecommitdiffstats
path: root/src/file.h
diff options
context:
space:
mode:
authorBob Jamison <ishmalius@gmail.com>2006-07-17 18:24:12 +0000
committerishmal <ishmal@users.sourceforge.net>2006-07-17 18:24:12 +0000
commit75a7a835fc60c6dd8092e696ebb4d7a718f810eb (patch)
tree95cd12a7eb825a137de83f48450503d4a5276934 /src/file.h
parentcleanup, remove warnings (diff)
downloadinkscape-75a7a835fc60c6dd8092e696ebb4d7a718f810eb.tar.gz
inkscape-75a7a835fc60c6dd8092e696ebb4d7a718f810eb.zip
factor native PNG export out of file.cpp in preparation for new export dialog
(bzr r1430)
Diffstat (limited to 'src/file.h')
-rw-r--r--src/file.h14
1 files changed, 2 insertions, 12 deletions
diff --git a/src/file.h b/src/file.h
index 0395434c9..f86dc5a21 100644
--- a/src/file.h
+++ b/src/file.h
@@ -120,22 +120,12 @@ void file_import(SPDocument *in_doc, const Glib::ustring &uri,
######################*/
/**
- * Displays a "Save as" dialog for the user, with an
+ * Displays a FileExportDialog for the user, with an
* additional type selection, to allow the user to export
* the a document as a given type.
*/
-void sp_file_export_dialog (void *widget);
+bool sp_file_export_dialog (void *widget);
-/**
- * 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,
- 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);
/*######################