1 /*
2 * A quick hack to use the Cairo renderer to write out a file. This
3 * then makes 'save as...' PDF.
4 *
5 * Authors:
6 * Ted Gould <ted@gould.cx>
7 * Ulf Erikson <ulferikson@users.sf.net>
8 *
9 * Copyright (C) 2004-2006 Authors
10 *
11 * Released under GNU GPL, read the file 'COPYING' for more information
12 */
14 #ifndef EXTENSION_INTERNAL_CAIRO_RENDERER_PDF_OUT_H
15 #define EXTENSION_INTERNAL_CAIRO_RENDERER_PDF_OUT_H
17 #include "extension/implementation/implementation.h"
19 #ifdef HAVE_CAIRO_PDF
21 namespace Inkscape {
22 namespace Extension {
23 namespace Internal {
25 class CairoRendererPdfOutput : Inkscape::Extension::Implementation::Implementation {
27 public:
28 bool check(Inkscape::Extension::Extension *module);
29 void save(Inkscape::Extension::Output *mod,
30 SPDocument *doc,
31 gchar const *filename);
32 static void init();
33 };
35 } } } /* namespace Inkscape, Extension, Internal */
37 #endif /* HAVE_CAIRO_PDF */
39 #endif /* !EXTENSION_INTERNAL_CAIRO_RENDERER_PDF_OUT_H */
41 /*
42 Local Variables:
43 mode:c++
44 c-file-style:"stroustrup"
45 c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
46 indent-tabs-mode:nil
47 fill-column:99
48 End:
49 */
50 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :