Code

Packaging. New Brazilian Portuguese NSH file. Set trunk package date to 2011.
[inkscape.git] / src / live_effects / lpe-test-doEffect-stack.h
1 #ifndef INKSCAPE_LPE_DOEFFECT_STACK_H
2 #define INKSCAPE_LPE_DOEFFECT_STACK_H
4 /*
5  * Inkscape::LPEdoEffectStackTest
6  *
7 * Copyright (C) Johan Engelen 2007 <j.b.c.engelen@utwente.nl>
8  *
9  * Released under GNU GPL, read the file 'COPYING' for more information
10 *
11 *   This effect is to test whether running up and down the doEffect stack does not change the original-d too much. 
12 *   i.e. for this effect, the output should match more or less exactly with the input.
13 *
14  */
16 #include "live_effects/effect.h"
17 #include "live_effects/parameter/parameter.h"
18 #include "live_effects/parameter/point.h"
19 #include "live_effects/parameter/path.h"
21 namespace Inkscape {
22 namespace LivePathEffect {
24 class LPEdoEffectStackTest : public Effect {
25 public:
26     LPEdoEffectStackTest(LivePathEffectObject *lpeobject);
27     virtual ~LPEdoEffectStackTest();
29     virtual void                                     doEffect (SPCurve * curve);
30     virtual std::vector<Geom::Path>                  doEffect_path (std::vector<Geom::Path> const & path_in);
31     virtual Geom::Piecewise<Geom::D2<Geom::SBasis> > doEffect_pwd2 (Geom::Piecewise<Geom::D2<Geom::SBasis> > const & pwd2_in);
33 private:
34     ScalarParam step;
35     PointParam point;
36     PathParam path;
38     LPEdoEffectStackTest(const LPEdoEffectStackTest&);
39     LPEdoEffectStackTest& operator=(const LPEdoEffectStackTest&);
40 };
42 }; //namespace LivePathEffect
43 }; //namespace Inkscape
45 #endif