Code

noop: some more cosmetics in lpe-skeleton.(h|cpp)
[inkscape.git] / src / live_effects / lpe-skeleton.h
1 #ifndef INKSCAPE_LPE_SKELETON_H
2 #define INKSCAPE_LPE_SKELETON_H
4 /** \file
5  * LPE <skeleton> implementation, see lpe-skeleton.cpp.
6  */
8 /*
9  * Authors:
10  *   Johan Engelen
11  *
12  * Copyright (C) Johan Engelen 2007 <j.b.c.engelen@utwente.nl>
13  *
14  * Released under GNU GPL, read the file 'COPYING' for more information
15  */
17 #include "live_effects/effect.h"
18 #include "live_effects/parameter/parameter.h"
19 #include "live_effects/parameter/point.h"
21 namespace Inkscape {
22 namespace LivePathEffect {
24 class LPESkeleton : public Effect {
25 public:
26     LPESkeleton(LivePathEffectObject *lpeobject);
27     virtual ~LPESkeleton();
29 //  Choose to implement one of the doEffect functions. You can delete or comment out the others.
30 //    virtual void doEffect (SPCurve * curve);
31 //    virtual std::vector<Geom::Path> doEffect_path (std::vector<Geom::Path> const & path_in);
32     virtual Geom::Piecewise<Geom::D2<Geom::SBasis> > doEffect_pwd2 (Geom::Piecewise<Geom::D2<Geom::SBasis> > const & pwd2_in);
34 private:
35     // add the parameters for your effect here:
36     ScalarParam number;
37     // there are all kinds of parameters. Check the /live_effects/parameter directory which types exist!
39     LPESkeleton(const LPESkeleton&);
40     LPESkeleton& operator=(const LPESkeleton&);
41 };
43 } //namespace LivePathEffect
44 } //namespace Inkscape
46 #endif
48 /*
49   Local Variables:
50   mode:c++
51   c-file-style:"stroustrup"
52   c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
53   indent-tabs-mode:nil
54   fill-column:99
55   End:
56 */
57 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :