diff options
| author | Michael Soegtrop <MSoegtrop@yahoo.de> | 2016-04-27 17:47:22 +0000 |
|---|---|---|
| committer | Michael Soegtrop <MSoegtrop@yahoo.de> | 2016-04-27 17:47:22 +0000 |
| commit | 5c08bd913a218fc342938252150fedd6f2b837f1 (patch) | |
| tree | f4e039a89df47a2bbbc752689a368f57c752f8b3 /src/live_effects/effect.cpp | |
| parent | Correct enumeration names. (diff) | |
| download | inkscape-5c08bd913a218fc342938252150fedd6f2b837f1.tar.gz inkscape-5c08bd913a218fc342938252150fedd6f2b837f1.zip | |
Added emboidery and bool LPEs
(bzr r14862.2.1)
Diffstat (limited to 'src/live_effects/effect.cpp')
| -rw-r--r-- | src/live_effects/effect.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/live_effects/effect.cpp b/src/live_effects/effect.cpp index c6ecba30a..0b77e472f 100644 --- a/src/live_effects/effect.cpp +++ b/src/live_effects/effect.cpp @@ -62,6 +62,8 @@ #include "live_effects/lpe-test-doEffect-stack.h" #include "live_effects/lpe-text_label.h" #include "live_effects/lpe-vonkoch.h" +#include "live_effects/lpe-embrodery-stitch.h" +#include "live_effects/lpe-bool.h" #include "xml/node-event-vector.h" #include "sp-object.h" @@ -151,6 +153,9 @@ const Util::EnumData<EffectType> LPETypeData[] = { {FILL_BETWEEN_MANY, N_("Fill between many"), "fill_between_many"}, {ELLIPSE_5PTS, N_("Ellipse by 5 points"), "ellipse_5pts"}, {BOUNDING_BOX, N_("Bounding Box"), "bounding_box"}, +/* MSoegtrop */ + {EMBRODERY_STITCH, N_("Embrodery stitch"), "embrodery_stitch"}, + {BOOL_OP, N_("Boolean operation"), "bool_op"}, }; const Util::EnumDataConverter<EffectType> LPETypeConverter(LPETypeData, sizeof(LPETypeData)/sizeof(*LPETypeData)); @@ -172,6 +177,14 @@ Effect::New(EffectType lpenr, LivePathEffectObject *lpeobj) { Effect* neweffect = NULL; switch (lpenr) { + case EMBRODERY_STITCH: + neweffect = static_cast<Effect*> ( new LPEEmbroderyStitch(lpeobj) ); + break; + + case BOOL_OP: + neweffect = static_cast<Effect*> ( new LPEBool(lpeobj) ); + break; + case PATTERN_ALONG_PATH: neweffect = static_cast<Effect*> ( new LPEPatternAlongPath(lpeobj) ); break; |
