summaryrefslogtreecommitdiffstats
path: root/src/live_effects/effect.cpp
diff options
context:
space:
mode:
authorJF Barraud <jf.barraud@gmail.com>2009-01-03 01:40:34 +0000
committerjfbarraud <jfbarraud@users.sourceforge.net>2009-01-03 01:40:34 +0000
commitb9b517656bf76525a4fbb232c0b6a6ba00b3a017 (patch)
tree69b0b141f378994a07e2e62beb0ea040217c872f /src/live_effects/effect.cpp
parentadd labels (diff)
downloadinkscape-b9b517656bf76525a4fbb232c0b6a6ba00b3a017.tar.gz
inkscape-b9b517656bf76525a4fbb232c0b6a6ba00b3a017.zip
added lpe-dynastroke, but hidden as experimental.
(bzr r7065)
Diffstat (limited to 'src/live_effects/effect.cpp')
-rw-r--r--src/live_effects/effect.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/live_effects/effect.cpp b/src/live_effects/effect.cpp
index dc252722a..83e3ccb8d 100644
--- a/src/live_effects/effect.cpp
+++ b/src/live_effects/effect.cpp
@@ -43,6 +43,7 @@
#include "live_effects/lpe-vonkoch.h"
#include "live_effects/lpe-knot.h"
#include "live_effects/lpe-rough-hatches.h"
+#include "live_effects/lpe-dynastroke.h"
#include "live_effects/lpe-test-doEffect-stack.h"
#include "live_effects/lpe-gears.h"
#include "live_effects/lpe-curvestitch.h"
@@ -66,6 +67,7 @@
#include "live_effects/lpe-text_label.h"
#include "live_effects/lpe-path_length.h"
#include "live_effects/lpe-line_segment.h"
+
// end of includes
namespace Inkscape {
@@ -76,6 +78,7 @@ const Util::EnumData<EffectType> LPETypeData[] = {
// {constant defined in effect-enum.h, N_("name of your effect"), "name of your effect in SVG"}
#ifdef LPE_ENABLE_TEST_EFFECTS
{DOEFFECTSTACK_TEST, N_("doEffect stack test"), "doeffectstacktest"},
+ {DYNASTROKE, N_("Dynamic stroke"), "dynastroke"},
#endif
{ANGLE_BISECTOR, N_("Angle bisector"), "angle_bisector"},
{BEND_PATH, N_("Bend"), "bend_path"},
@@ -218,6 +221,9 @@ Effect::New(EffectType lpenr, LivePathEffectObject *lpeobj)
case DOEFFECTSTACK_TEST:
neweffect = static_cast<Effect*> ( new LPEdoEffectStackTest(lpeobj) );
break;
+ case DYNASTROKE:
+ neweffect = static_cast<Effect*> ( new LPEDynastroke(lpeobj) );
+ break;
#endif
default:
g_warning("LivePathEffect::Effect::New called with invalid patheffect type (%d)", lpenr);