summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b7f0769)
raw | patch | inline | side by side (parent: b7f0769)
author | miklosh <miklosh@users.sourceforge.net> | |
Sun, 1 Oct 2006 13:54:50 +0000 (13:54 +0000) | ||
committer | miklosh <miklosh@users.sourceforge.net> | |
Sun, 1 Oct 2006 13:54:50 +0000 (13:54 +0000) |
src/extension/internal/cairo-renderer-pdf-out.h | [new file with mode: 0644] | patch | blob |
diff --git a/src/extension/internal/cairo-renderer-pdf-out.h b/src/extension/internal/cairo-renderer-pdf-out.h
--- /dev/null
@@ -0,0 +1,50 @@
+/*\r
+ * A quick hack to use the Cairo renderer to write out a file. This\r
+ * then makes 'save as...' PDF.\r
+ *\r
+ * Authors:\r
+ * Ted Gould <ted@gould.cx>\r
+ * Ulf Erikson <ulferikson@users.sf.net>\r
+ *\r
+ * Copyright (C) 2004-2006 Authors\r
+ *\r
+ * Released under GNU GPL, read the file 'COPYING' for more information\r
+ */\r
+\r
+#ifndef EXTENSION_INTERNAL_CAIRO_RENDERER_PDF_OUT_H\r
+#define EXTENSION_INTERNAL_CAIRO_RENDERER_PDF_OUT_H\r
+\r
+#include "extension/implementation/implementation.h"\r
+\r
+#ifdef HAVE_CAIRO_PDF\r
+\r
+namespace Inkscape {\r
+namespace Extension {\r
+namespace Internal {\r
+\r
+class CairoRendererPdfOutput : Inkscape::Extension::Implementation::Implementation {\r
+\r
+public:\r
+ bool check(Inkscape::Extension::Extension *module);\r
+ void save(Inkscape::Extension::Output *mod,\r
+ SPDocument *doc,\r
+ gchar const *uri);\r
+ static void init();\r
+};\r
+\r
+} } } /* namespace Inkscape, Extension, Internal */\r
+\r
+#endif /* HAVE_CAIRO_PDF */\r
+\r
+#endif /* !EXTENSION_INTERNAL_CAIRO_RENDERER_PDF_OUT_H */\r
+\r
+/*\r
+ Local Variables:\r
+ mode:c++\r
+ c-file-style:"stroustrup"\r
+ c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))\r
+ indent-tabs-mode:nil\r
+ fill-column:99\r
+ End:\r
+*/\r
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :\r