From db879d1b01088cedb983bf00f3845f849bde83a8 Mon Sep 17 00:00:00 2001 From: "Johan B. C. Engelen" Date: Sun, 12 Apr 2009 16:27:25 +0000 Subject: add LPE recursive skeleton (experimental) (bzr r7692) --- src/live_effects/effect.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/live_effects/effect.cpp') diff --git a/src/live_effects/effect.cpp b/src/live_effects/effect.cpp index 0af6cce72..d8fe6bfcf 100644 --- a/src/live_effects/effect.cpp +++ b/src/live_effects/effect.cpp @@ -73,6 +73,7 @@ #include "live_effects/lpe-text_label.h" #include "live_effects/lpe-path_length.h" #include "live_effects/lpe-line_segment.h" +#include "live_effects/lpe-recursiveskeleton.h" namespace Inkscape { @@ -98,6 +99,7 @@ const Util::EnumData LPETypeData[] = { {PERP_BISECTOR, N_("Perpendicular bisector"), "perp_bisector"}, {PERSPECTIVE_PATH, N_("Perspective path"), "perspective_path"}, {COPY_ROTATE, N_("Rotate copies"), "copy_rotate"}, + {RECURSIVE_SKELETON, N_("Recursive skeleton"), "recursive_skeleton"}, {RULER, N_("Ruler"), "ruler"}, {SKETCH, N_("Sketch"), "sketch"}, {TANGENT_TO_CURVE, N_("Tangent to curve"), "tangent_to_curve"}, @@ -226,6 +228,9 @@ Effect::New(EffectType lpenr, LivePathEffectObject *lpeobj) case DYNASTROKE: neweffect = static_cast ( new LPEDynastroke(lpeobj) ); break; + case RECURSIVE_SKELETON: + neweffect = static_cast ( new LPERecursiveSkeleton(lpeobj) ); + break; default: g_warning("LivePathEffect::Effect::New called with invalid patheffect type (%d)", lpenr); neweffect = NULL; -- cgit v1.2.3