From: cilix42 Date: Sun, 18 May 2008 20:53:26 +0000 (+0000) Subject: Add function to return path effect type X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c90010388b0d4045c26e81c2be28beedcb36c7d3;p=inkscape.git Add function to return path effect type --- diff --git a/src/live_effects/effect.cpp b/src/live_effects/effect.cpp index 6ae30fe4c..9f74af3d9 100644 --- a/src/live_effects/effect.cpp +++ b/src/live_effects/effect.cpp @@ -157,6 +157,11 @@ Effect::getName() return Glib::ustring( _("No effect") ); } +EffectType +Effect::effectType() { + return lpeobj->effecttype; +} + void Effect::doBeforeEffect (SPLPEItem */*lpeitem*/) { diff --git a/src/live_effects/effect.h b/src/live_effects/effect.h index 086b973af..496d4cbdf 100644 --- a/src/live_effects/effect.h +++ b/src/live_effects/effect.h @@ -81,6 +81,8 @@ public: virtual ~Effect(); + EffectType effectType (); + virtual void doBeforeEffect (SPLPEItem *lpeitem); virtual void doEffect (SPCurve * curve);