6999cfac0b291a47d01b50f95431cead4f135340
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 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 NArtBpath * doEffect_nartbpath (NArtBpath * path_in);
32 // virtual std::vector<Geom::Path> doEffect_path (std::vector<Geom::Path> & path_in);
33 virtual Geom::Piecewise<Geom::D2<Geom::SBasis> > doEffect_pwd2 (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