Code

fixed another typo
[inkscape.git] / src / live_effects / lpe-perspective_path.h
index f02df30f0782de336b6a1e4895fc0508165e185a..02dcf23258b1156fc1884bb28c02bd203f4054b2 100644 (file)
@@ -17,6 +17,7 @@
 #include "live_effects/effect.h"
 #include "live_effects/parameter/parameter.h"
 #include "live_effects/parameter/bool.h"
+#include "live_effects/lpegroupbbox.h"
 
 #include <vector>
 #include "2geom/point.h"
 namespace Inkscape {
 namespace LivePathEffect {
 
-class LPEPerspectivePath : public Effect {
+class LPEPerspectivePath : public Effect, GroupBBoxEffect {
 public:
     LPEPerspectivePath(LivePathEffectObject *lpeobject);
     virtual ~LPEPerspectivePath();
+    
+    virtual void doBeforeEffect (SPLPEItem *lpeitem);
 
-    virtual Geom::Piecewise<Geom::D2<Geom::SBasis> > doEffect_pwd2 (Geom::Piecewise<Geom::D2<Geom::SBasis> > & pwd2_in);
+    virtual Geom::Piecewise<Geom::D2<Geom::SBasis> > doEffect_pwd2 (Geom::Piecewise<Geom::D2<Geom::SBasis> > const & pwd2_in);
 
 private:
     // add the parameters for your effect here: