diff options
| author | Maximilian Albert <maximilian.albert@gmail.com> | 2008-06-18 02:13:25 +0000 |
|---|---|---|
| committer | cilix42 <cilix42@users.sourceforge.net> | 2008-06-18 02:13:25 +0000 |
| commit | 1c46ad2d6ea563c69cf73e3341f57f0d16c88d7e (patch) | |
| tree | 610b72c3f9b9c848905002e41ae467c614f11cd6 /src/live_effects/effect.cpp | |
| parent | Remove superfluous #include from lpe-skeleton.h (diff) | |
| download | inkscape-1c46ad2d6ea563c69cf73e3341f57f0d16c88d7e.tar.gz inkscape-1c46ad2d6ea563c69cf73e3341f57f0d16c88d7e.zip | |
New LPE: Parallel
(bzr r5975)
Diffstat (limited to 'src/live_effects/effect.cpp')
| -rw-r--r-- | src/live_effects/effect.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/live_effects/effect.cpp b/src/live_effects/effect.cpp index 7e56023a6..73b5a5786 100644 --- a/src/live_effects/effect.cpp +++ b/src/live_effects/effect.cpp @@ -58,6 +58,7 @@ #include "live_effects/lpe-mirror_reflect.h" #include "live_effects/lpe-circle_3pts.h" #include "live_effects/lpe-angle_bisector.h" +#include "live_effects/lpe-parallel.h" // end of includes namespace Inkscape { @@ -87,6 +88,7 @@ const Util::EnumData<EffectType> LPETypeData[INVALID_LPE] = { {MIRROR_REFLECT, N_("Mirror reflection"), "mirror_reflect"}, {CIRCLE_3PTS, N_("Circle through 3 points"), "circle_3pts"}, {ANGLE_BISECTOR, N_("Angle bisector"), "angle_bisector"}, + {PARALLEL, N_("Parallel"), "parallel"}, }; const Util::EnumDataConverter<EffectType> LPETypeConverter(LPETypeData, INVALID_LPE); @@ -154,6 +156,9 @@ Effect::New(EffectType lpenr, LivePathEffectObject *lpeobj) case ANGLE_BISECTOR: neweffect = static_cast<Effect*> ( new LPEAngleBisector(lpeobj) ); break; + case PARALLEL: + neweffect = static_cast<Effect*> ( new LPEParallel(lpeobj) ); + break; default: g_warning("LivePathEffect::Effect::New called with invalid patheffect type (%d)", lpenr); neweffect = NULL; |
