diff options
| author | Maximilian Albert <maximilian.albert@gmail.com> | 2008-05-18 20:47:27 +0000 |
|---|---|---|
| committer | cilix42 <cilix42@users.sourceforge.net> | 2008-05-18 20:47:27 +0000 |
| commit | 2d1c53f4ad65b8c1dd91e3062b9af67c30dc7d72 (patch) | |
| tree | f6d7bbcfea15c90cb0a4cb5df0dfa855d80f967e /src/live_effects/effect.cpp | |
| parent | Fix regression in constrained translation (diff) | |
| download | inkscape-2d1c53f4ad65b8c1dd91e3062b9af67c30dc7d72.tar.gz inkscape-2d1c53f4ad65b8c1dd91e3062b9af67c30dc7d72.zip | |
New LPE: Perpendicular bisector
(bzr r5695)
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 125d22c3f..6ae30fe4c 100644 --- a/src/live_effects/effect.cpp +++ b/src/live_effects/effect.cpp @@ -45,6 +45,7 @@ #include "live_effects/lpe-spiro.h" #include "live_effects/lpe-constructgrid.h" #include "live_effects/lpe-envelope.h" +#include "live_effects/lpe-perp_bisector.h" // end of includes #include "nodepath.h" @@ -70,6 +71,7 @@ const Util::EnumData<EffectType> LPETypeData[INVALID_LPE] = { {SPIRO, N_("Spiro spline"), "spiro"}, {CONSTRUCT_GRID, N_("Construct grid"), "construct_grid"}, {ENVELOPE, N_("Envelope Deformation"), "envelope"}, + {PERP_BISECTOR, N_("Perpendicular bisector"), "perp_bisector"}, }; const Util::EnumDataConverter<EffectType> LPETypeConverter(LPETypeData, INVALID_LPE); @@ -119,6 +121,9 @@ Effect::New(EffectType lpenr, LivePathEffectObject *lpeobj) case ENVELOPE: neweffect = static_cast<Effect*> ( new LPEEnvelope(lpeobj) ); break; + case PERP_BISECTOR: + neweffect = static_cast<Effect*> ( new LPEPerpBisector(lpeobj) ); + break; default: g_warning("LivePathEffect::Effect::New called with invalid patheffect type (%d)", lpenr); neweffect = NULL; |
