~ubuntu-branches/debian/experimental/inkscape/experimental

« back to all changes in this revision

Viewing changes to src/extension/internal/cairo-png-out.h

  • Committer: Bazaar Package Importer
  • Author(s): Thomas Viehmann
  • Date: 2008-09-09 23:29:02 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20080909232902-c50iujhk1w79u8e7
Tags: 0.46-2.1
* Non-maintainer upload.
* Add upstream patch fixing a crash in the open dialog
  in the zh_CN.utf8 locale. Closes: #487623.
  Thanks to Luca Bruno for the patch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
 */
 
13
 
 
14
#ifndef EXTENSION_INTERNAL_CAIRO_PNG_OUT_H
 
15
#define EXTENSION_INTERNAL_CAIRO_PNG_OUT_H
 
16
 
 
17
#include "extension/implementation/implementation.h"
 
18
 
 
19
#ifdef HAVE_CAIRO_PDF
 
20
 
 
21
namespace Inkscape {
 
22
namespace Extension {
 
23
namespace Internal {
 
24
 
 
25
class CairoRendererOutput : Inkscape::Extension::Implementation::Implementation {
 
26
 
 
27
public:
 
28
    bool check(Inkscape::Extension::Extension *module);
 
29
    void save(Inkscape::Extension::Output *mod,
 
30
              SPDocument *doc,
 
31
              gchar const *uri);
 
32
    static void init();
 
33
};
 
34
 
 
35
} } }  /* namespace Inkscape, Extension, Implementation */
 
36
 
 
37
#endif /* HAVE_CAIRO_PDF */
 
38
 
 
39
#endif /* !EXTENSION_INTERNAL_CAIRO_PNG_OUT_H */
 
40
 
 
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 :