From 251b0986df5b12162d2fb4aa97b0cd6e2f932cff Mon Sep 17 00:00:00 2001 From: Maximilian Albert Date: Mon, 16 Jun 2008 16:16:38 +0000 Subject: New LPE: circle through 3 points (bzr r5959) --- 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 9476f0377..4f4aaff3f 100644 --- a/src/live_effects/effect.cpp +++ b/src/live_effects/effect.cpp @@ -56,6 +56,7 @@ #include "live_effects/lpe-perp_bisector.h" #include "live_effects/lpe-tangent_to_curve.h" #include "live_effects/lpe-mirror_reflect.h" +#include "live_effects/lpe-circle_3pts.h" // end of includes namespace Inkscape { @@ -83,6 +84,7 @@ const Util::EnumData LPETypeData[INVALID_LPE] = { {PERP_BISECTOR, N_("Perpendicular bisector"), "perp_bisector"}, {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"}, }; const Util::EnumDataConverter LPETypeConverter(LPETypeData, INVALID_LPE); @@ -144,6 +146,9 @@ Effect::New(EffectType lpenr, LivePathEffectObject *lpeobj) case MIRROR_REFLECT: neweffect = static_cast ( new LPEMirrorReflect(lpeobj) ); break; + case CIRCLE_3PTS: + neweffect = static_cast ( new LPECircle3Pts(lpeobj) ); + break; default: g_warning("LivePathEffect::Effect::New called with invalid patheffect type (%d)", lpenr); neweffect = NULL; -- cgit v1.2.3