diff options
| author | Maximilian Albert <maximilian.albert@gmail.com> | 2008-05-18 20:53:26 +0000 |
|---|---|---|
| committer | cilix42 <cilix42@users.sourceforge.net> | 2008-05-18 20:53:26 +0000 |
| commit | c7e01571da09f17e073de68a70aed97e9137747b (patch) | |
| tree | e91d30bad161b6da51bb3984be7aecd277f5832a /src | |
| parent | New LPE: Perpendicular bisector (diff) | |
| download | inkscape-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.cpp | 5 | ||||
| -rw-r--r-- | src/live_effects/effect.h | 2 |
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); |
