summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authormiklosh <miklosh@users.sourceforge.net>2006-10-01 13:54:50 +0000
committermiklosh <miklosh@users.sourceforge.net>2006-10-01 13:54:50 +0000
commitca13be3b16d044865877c6f79494901b219c2c49 (patch)
tree6fce87ae6b197960d22a613f68190b3eb7aee705 /src
parentInitial commit of Cairo renderer for PDF export (diff)
downloadinkscape-ca13be3b16d044865877c6f79494901b219c2c49.tar.gz
inkscape-ca13be3b16d044865877c6f79494901b219c2c49.zip
Initial commit of Cairo renderer for PDF export
(bzr r1734)
Diffstat (limited to 'src')
-rw-r--r--src/extension/internal/cairo-renderer-pdf-out.h50
1 files changed, 50 insertions, 0 deletions
diff --git a/src/extension/internal/cairo-renderer-pdf-out.h b/src/extension/internal/cairo-renderer-pdf-out.h
new file mode 100644
index 000000000..d7d5a6681
--- /dev/null
+++ b/src/extension/internal/cairo-renderer-pdf-out.h
@@ -0,0 +1,50 @@
+/*
+ * A quick hack to use the Cairo renderer to write out a file. This
+ * then makes 'save as...' PDF.
+ *
+ * Authors:
+ * Ted Gould <ted@gould.cx>
+ * Ulf Erikson <ulferikson@users.sf.net>
+ *
+ * Copyright (C) 2004-2006 Authors
+ *
+ * Released under GNU GPL, read the file 'COPYING' for more information
+ */
+
+#ifndef EXTENSION_INTERNAL_CAIRO_RENDERER_PDF_OUT_H
+#define EXTENSION_INTERNAL_CAIRO_RENDERER_PDF_OUT_H
+
+#include "extension/implementation/implementation.h"
+
+#ifdef HAVE_CAIRO_PDF
+
+namespace Inkscape {
+namespace Extension {
+namespace Internal {
+
+class CairoRendererPdfOutput : Inkscape::Extension::Implementation::Implementation {
+
+public:
+ bool check(Inkscape::Extension::Extension *module);
+ void save(Inkscape::Extension::Output *mod,
+ SPDocument *doc,
+ gchar const *uri);
+ static void init();
+};
+
+} } } /* namespace Inkscape, Extension, Internal */
+
+#endif /* HAVE_CAIRO_PDF */
+
+#endif /* !EXTENSION_INTERNAL_CAIRO_RENDERER_PDF_OUT_H */
+
+/*
+ Local Variables:
+ mode:c++
+ c-file-style:"stroustrup"
+ c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
+ indent-tabs-mode:nil
+ fill-column:99
+ End:
+*/
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :