diff options
| author | Maximilian Albert <maximilian.albert@gmail.com> | 2008-06-18 02:13:55 +0000 |
|---|---|---|
| committer | cilix42 <cilix42@users.sourceforge.net> | 2008-06-18 02:13:55 +0000 |
| commit | d92779f71e03f35d7cb2a29c0cb8c8065eff8fe6 (patch) | |
| tree | 805184533d9db13929c7d645b2b2dbdc308793a9 /src/live_effects/effect.cpp | |
| parent | update 2geom (diff) | |
| download | inkscape-d92779f71e03f35d7cb2a29c0cb8c8065eff8fe6.tar.gz inkscape-d92779f71e03f35d7cb2a29c0cb8c8065eff8fe6.zip | |
New LPE: Copy rotate
(bzr r5978)
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 73b5a5786..08745a74e 100644 --- a/src/live_effects/effect.cpp +++ b/src/live_effects/effect.cpp @@ -59,6 +59,7 @@ #include "live_effects/lpe-circle_3pts.h" #include "live_effects/lpe-angle_bisector.h" #include "live_effects/lpe-parallel.h" +#include "live_effects/lpe-copy_rotate.h" // end of includes namespace Inkscape { @@ -89,6 +90,7 @@ const Util::EnumData<EffectType> LPETypeData[INVALID_LPE] = { {CIRCLE_3PTS, N_("Circle through 3 points"), "circle_3pts"}, {ANGLE_BISECTOR, N_("Angle bisector"), "angle_bisector"}, {PARALLEL, N_("Parallel"), "parallel"}, + {COPY_ROTATE, N_("Rotate copies"), "copy_rotate"}, }; const Util::EnumDataConverter<EffectType> LPETypeConverter(LPETypeData, INVALID_LPE); @@ -159,6 +161,9 @@ Effect::New(EffectType lpenr, LivePathEffectObject *lpeobj) case PARALLEL: neweffect = static_cast<Effect*> ( new LPEParallel(lpeobj) ); break; + case COPY_ROTATE: + neweffect = static_cast<Effect*> ( new LPECopyRotate(lpeobj) ); + break; default: g_warning("LivePathEffect::Effect::New called with invalid patheffect type (%d)", lpenr); neweffect = NULL; |
