Code

Super duper mega (fun!) commit: replaced encoding=utf-8 with fileencoding=utf-8 in...
[inkscape.git] / src / extension / internal / cairo-png-out.h
1 /*
2  * A quick hack to use the print output to write out a file.  This
3  * then makes 'save as...' PNG.
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_PNG_OUT_H
15 #define EXTENSION_INTERNAL_CAIRO_PNG_OUT_H
17 #include "extension/implementation/implementation.h"
19 #ifdef HAVE_CAIRO_PDF
21 namespace Inkscape {
22 namespace Extension {
23 namespace Internal {
25 class CairoRendererOutput : 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, Implementation */
37 #endif /* HAVE_CAIRO_PDF */
39 #endif /* !EXTENSION_INTERNAL_CAIRO_PNG_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:fileencoding=utf-8:textwidth=99 :