816b8b7076f0cbca08b562f4b269f5355a3552e6
1 #ifndef INKSCAPE_LPE_SKELETON_H
2 #define INKSCAPE_LPE_SKELETON_H
4 /** \file
5 * SVG <skeleton> implementation, see sp-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 ~LPESkeleton();
29 // Choose to implement one of the doEffect functions. You can delete or comment out the others.
30 // void doEffect (SPCurve * curve);
31 // NArtBpath * doEffect (NArtBpath * path_in);
32 // std::vector<Geom::Path> doEffect (std::vector<Geom::Path> & path_in);
33 Geom::Piecewise<Geom::D2<Geom::SBasis> > doEffect (Geom::Piecewise<Geom::D2<Geom::SBasis> > & pwd2_in);
35 private:
36 // add the parameters for your effect here:
37 ScalarParam number;
38 // there are all kinds of parameters. Check the /live_effects/parameter directory which types exist!
40 LPESkeleton(const LPESkeleton&);
41 LPESkeleton& operator=(const LPESkeleton&);
42 };
44 } //namespace LivePathEffect
45 } //namespace Inkscape
47 #endif