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