summaryrefslogtreecommitdiffstats
path: root/src/live_effects/effect.cpp
diff options
context:
space:
mode:
authorMartin Owens <doctormo@gmail.com>2017-08-13 11:26:35 +0000
committerMartin Owens <doctormo@gmail.com>2017-08-13 11:26:35 +0000
commit203bb5ccb8d526f3460e476693642c05bd6fab2f (patch)
tree7b7e3142393909358d50019efc6fc5e1bc91fcca /src/live_effects/effect.cpp
parentMerge branch 'alvinpenner/inkscape-master' (diff)
parentupdate to trunk (diff)
downloadinkscape-203bb5ccb8d526f3460e476693642c05bd6fab2f.tar.gz
inkscape-203bb5ccb8d526f3460e476693642c05bd6fab2f.zip
Merge branch 'jabiertxof/inkscape-inkscape.dev_power_clip_and_mask'
Diffstat (limited to 'src/live_effects/effect.cpp')
-rw-r--r--src/live_effects/effect.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/live_effects/effect.cpp b/src/live_effects/effect.cpp
index e5a879241..c817f5caa 100644
--- a/src/live_effects/effect.cpp
+++ b/src/live_effects/effect.cpp
@@ -47,6 +47,8 @@
#include "live_effects/lpe-perp_bisector.h"
#include "live_effects/lpe-perspective-envelope.h"
#include "live_effects/lpe-perspective_path.h"
+#include "live_effects/lpe-powerclip.h"
+#include "live_effects/lpe-powermask.h"
#include "live_effects/lpe-powerstroke.h"
#include "live_effects/lpe-recursiveskeleton.h"
#include "live_effects/lpe-roughen.h"
@@ -128,6 +130,8 @@ const Util::EnumData<EffectType> LPETypeData[] = {
{FILLET_CHAMFER, N_("Fillet/Chamfer"), "fillet_chamfer"},
{BOOL_OP, N_("Boolean operation"), "bool_op"},
{EMBRODERY_STITCH, N_("Embrodery stitch"), "embrodery_stitch"},
+ {POWERCLIP, N_("Power clip"), "powerclip"},
+ {POWERMASK, N_("Power mask"), "powermask"},
#ifdef LPE_ENABLE_TEST_EFFECTS
{DOEFFECTSTACK_TEST, N_("doEffect stack test"), "doeffectstacktest"},
{ANGLE_BISECTOR, N_("Angle bisector"), "angle_bisector"},
@@ -312,6 +316,12 @@ Effect::New(EffectType lpenr, LivePathEffectObject *lpeobj)
case FILLET_CHAMFER:
neweffect = static_cast<Effect*> ( new LPEFilletChamfer(lpeobj) );
break;
+ case POWERCLIP:
+ neweffect = static_cast<Effect*> ( new LPEPowerClip(lpeobj) );
+ break;
+ case POWERMASK:
+ neweffect = static_cast<Effect*> ( new LPEPowerMask(lpeobj) );
+ break;
case ROUGHEN:
neweffect = static_cast<Effect*> ( new LPERoughen(lpeobj) );
break;
@@ -971,6 +981,7 @@ Effect::resetDefaults(SPItem const* /*item*/)
}
}
+//Activate handle your transform filling your effect on SPPath.cpp
void
Effect::transform_multiply(Geom::Affine const& postmul, bool set)
{