Code

fix crash, allow combine to work transparently on groups
[inkscape.git] / src / extension / print.h
index 40cafef1d9d314f65c93b865e6d47ab127086b69..8ae71b8e6a31bc5f9244e4e5d059ccc56a12c095 100644 (file)
@@ -12,7 +12,6 @@
 
 #include "extension.h"
 
-#include "libnr/nr-path.h"
 #include "display/nr-arena-forward.h"
 #include "forward.h"
 
@@ -30,7 +29,7 @@ public: /* TODO: These are public for the short term, but this should be fixed *
 public:
                   Print       (Inkscape::XML::Node * in_repr,
                                Implementation::Implementation * in_imp);
-                 ~Print       (void);
+    virtual      ~Print       (void);
     virtual bool  check       (void);
 
     /* FALSE means user hit cancel */
@@ -41,18 +40,18 @@ public:
     unsigned int  finish      (void);
 
     /* Rendering methods */
-    unsigned int  bind        (NRMatrix const *transform,
+    unsigned int  bind        (Geom::Matrix const *transform,
                                float opacity);
     unsigned int  release     (void);
     unsigned int  comment     (const char * comment);
-    unsigned int  fill        (NRBPath const *bpath,
-                               NRMatrix const *ctm,
+    unsigned int  fill        (Geom::PathVector const &pathv,
+                               Geom::Matrix const *ctm,
                                SPStyle const *style,
                                NRRect const *pbox,
                                NRRect const *dbox,
                                NRRect const *bbox);
-    unsigned int  stroke      (NRBPath const *bpath,
-                               NRMatrix const *transform,
+    unsigned int  stroke      (Geom::PathVector const &pathv,
+                               Geom::Matrix const *transform,
                                SPStyle const *style,
                                NRRect const *pbox,
                                NRRect const *dbox,
@@ -61,12 +60,13 @@ public:
                                unsigned int w,
                                unsigned int h,
                                unsigned int rs,
-                               NRMatrix const *transform,
+                               Geom::Matrix const *transform,
                                SPStyle const *style);
     unsigned int  text        (char const *text,
-                               NR::Point p,
+                               Geom::Point p,
                                SPStyle const *style);
     bool          textToPath  (void);
+    bool          fontEmbedded  (void);
 };
 
 } }  /* namespace Inkscape, Extension */