summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMaximilian Albert <maximilian.albert@gmail.com>2008-05-18 20:53:26 +0000
committercilix42 <cilix42@users.sourceforge.net>2008-05-18 20:53:26 +0000
commitc7e01571da09f17e073de68a70aed97e9137747b (patch)
treee91d30bad161b6da51bb3984be7aecd277f5832a /src
parentNew LPE: Perpendicular bisector (diff)
downloadinkscape-c7e01571da09f17e073de68a70aed97e9137747b.tar.gz
inkscape-c7e01571da09f17e073de68a70aed97e9137747b.zip
Add function to return path effect type
(bzr r5696)
Diffstat (limited to 'src')
-rw-r--r--src/live_effects/effect.cpp5
-rw-r--r--src/live_effects/effect.h2
2 files changed, 7 insertions, 0 deletions
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);