Code

moving trunk for module inkscape
[inkscape.git] / src / extension / internal / pov-out.h
1 /*
2  * A simple utility for exporting Inkscape svg Shapes as PovRay bezier
3  * prisms.  Note that this is output-only, and would thus seem to be
4  * better placed as an 'export' rather than 'output'.  However, Export
5  * handles all or partial documents, while this outputs ALL shapes in
6  * the current SVG document.
7  *
8  * Authors:
9  *   Bob Jamison <rjamison@titan.com>
10  *
11  * Copyright (C) 2004 Authors
12  *
13  * Released under GNU GPL, read the file 'COPYING' for more information
14  */
16 #ifndef EXTENSION_INTERNAL_POV_OUT_H
17 #define EXTENSION_INTERNAL_POV_OUT_H
19 #include <glib.h>
20 #include "extension/implementation/implementation.h"
22 namespace Inkscape {
23 namespace Extension {
24 namespace Internal {
26 class PovOutput : public Inkscape::Extension::Implementation::Implementation
27 {
29     public:
31         bool check (Inkscape::Extension::Extension * module);
33         void          save  (Inkscape::Extension::Output *mod,
34                              SPDocument *doc,
35                              const gchar *uri);
37         static void   init  (void);
38         
40 };
45 }  //namespace Internal
46 }  //namespace Extension
47 }  //namespace Inkscape
51 #endif /* EXTENSION_INTERNAL_POV_OUT_H */