summaryrefslogtreecommitdiffstats
path: root/src/live_effects/effect.cpp
diff options
context:
space:
mode:
authorMaximilian Albert <maximilian.albert@gmail.com>2008-06-16 16:16:53 +0000
committercilix42 <cilix42@users.sourceforge.net>2008-06-16 16:16:53 +0000
commit2c7574d7f29302834c6e3c640863e485d6c7ca06 (patch)
treec2eed16160fa27721cbdb0f1dfc84979410087d0 /src/live_effects/effect.cpp
parentNew LPE: circle through 3 points (diff)
downloadinkscape-2c7574d7f29302834c6e3c640863e485d6c7ca06.tar.gz
inkscape-2c7574d7f29302834c6e3c640863e485d6c7ca06.zip
New LPE: Angle bisector
(bzr r5960)
Diffstat (limited to 'src/live_effects/effect.cpp')
-rw-r--r--src/live_effects/effect.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/live_effects/effect.cpp b/src/live_effects/effect.cpp
index 4f4aaff3f..81c9a6384 100644
--- a/src/live_effects/effect.cpp
+++ b/src/live_effects/effect.cpp
@@ -57,6 +57,7 @@
#include "live_effects/lpe-tangent_to_curve.h"
#include "live_effects/lpe-mirror_reflect.h"
#include "live_effects/lpe-circle_3pts.h"
+#include "live_effects/lpe-angle_bisector.h"
// end of includes
namespace Inkscape {
@@ -85,6 +86,7 @@ const Util::EnumData<EffectType> LPETypeData[INVALID_LPE] = {
{TANGENT_TO_CURVE, N_("Tangent to curve"), "tangent_to_curve"},
{MIRROR_REFLECT, N_("Mirror reflection"), "mirror_reflect"},
{CIRCLE_3PTS, N_("Circle through 3 points"), "circle_3pts"},
+ {ANGLE_BISECTOR, N_("Angle bisector"), "angle_bisector"},
};
const Util::EnumDataConverter<EffectType> LPETypeConverter(LPETypeData, INVALID_LPE);
@@ -149,6 +151,9 @@ Effect::New(EffectType lpenr, LivePathEffectObject *lpeobj)
case CIRCLE_3PTS:
neweffect = static_cast<Effect*> ( new LPECircle3Pts(lpeobj) );
break;
+ case ANGLE_BISECTOR:
+ neweffect = static_cast<Effect*> ( new LPEAngleBisector(lpeobj) );
+ break;
default:
g_warning("LivePathEffect::Effect::New called with invalid patheffect type (%d)", lpenr);
neweffect = NULL;