diff options
| author | Michael Soegtrop <MSoegtrop@yahoo.de> | 2016-05-08 09:33:56 +0000 |
|---|---|---|
| committer | Michael Soegtrop <MSoegtrop@yahoo.de> | 2016-05-08 09:33:56 +0000 |
| commit | 112dffbbbcc46e2f3fb1feffdf503170404273c3 (patch) | |
| tree | 63ffe76d26adfec5333d47d6cb6950488672c70a /src/live_effects/effect.cpp | |
| parent | Start of GTK3 external style sheet support. (diff) | |
| download | inkscape-112dffbbbcc46e2f3fb1feffdf503170404273c3.tar.gz inkscape-112dffbbbcc46e2f3fb1feffdf503170404273c3.zip | |
Added bool LPE
(bzr r14876.2.1)
Diffstat (limited to 'src/live_effects/effect.cpp')
| -rw-r--r-- | src/live_effects/effect.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/live_effects/effect.cpp b/src/live_effects/effect.cpp index c6ecba30a..b03671027 100644 --- a/src/live_effects/effect.cpp +++ b/src/live_effects/effect.cpp @@ -62,6 +62,7 @@ #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-bool.h" #include "xml/node-event-vector.h" #include "sp-object.h" @@ -151,6 +152,8 @@ 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 */ + {BOOL_OP, N_("Boolean operation"), "bool_op"}, }; const Util::EnumDataConverter<EffectType> LPETypeConverter(LPETypeData, sizeof(LPETypeData)/sizeof(*LPETypeData)); @@ -172,6 +175,10 @@ Effect::New(EffectType lpenr, LivePathEffectObject *lpeobj) { Effect* neweffect = NULL; switch (lpenr) { + case BOOL_OP: + neweffect = static_cast<Effect*> ( new LPEBool(lpeobj) ); + break; + case PATTERN_ALONG_PATH: neweffect = static_cast<Effect*> ( new LPEPatternAlongPath(lpeobj) ); break; |
