diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2007-11-12 18:59:48 +0000 |
|---|---|---|
| committer | johanengelen <johanengelen@users.sourceforge.net> | 2007-11-12 18:59:48 +0000 |
| commit | 4c281d3f704bfc4939603a53fd97015107d79fcb (patch) | |
| tree | a13316a7090ec7f73f0dbf9c2171bc0235c23c64 /src/live_effects/lpe-test-doEffect-stack.cpp | |
| parent | Fix bad markups in it.po (Translators: Please check your markups with check-m... (diff) | |
| download | inkscape-4c281d3f704bfc4939603a53fd97015107d79fcb.tar.gz inkscape-4c281d3f704bfc4939603a53fd97015107d79fcb.zip | |
LPE: no longer overload doEffect methods, but name them according to accepted arguments. This saves developer brain time because of 'hiding' issues.
(bzr r4067)
Diffstat (limited to '')
| -rw-r--r-- | src/live_effects/lpe-test-doEffect-stack.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/live_effects/lpe-test-doEffect-stack.cpp b/src/live_effects/lpe-test-doEffect-stack.cpp index d071050e9..f6ecad562 100644 --- a/src/live_effects/lpe-test-doEffect-stack.cpp +++ b/src/live_effects/lpe-test-doEffect-stack.cpp @@ -40,10 +40,10 @@ LPEdoEffectStackTest::doEffect (SPCurve * curve) } NArtBpath * -LPEdoEffectStackTest::doEffect (NArtBpath * path_in) +LPEdoEffectStackTest::doEffect_nartbpath (NArtBpath * path_in) { if (step >= 2) { - return Effect::doEffect(path_in); + return Effect::doEffect_nartbpath(path_in); } else { // return here NArtBpath *path_out; @@ -61,10 +61,10 @@ LPEdoEffectStackTest::doEffect (NArtBpath * path_in) } std::vector<Geom::Path> -LPEdoEffectStackTest::doEffect (std::vector<Geom::Path> & path_in) +LPEdoEffectStackTest::doEffect_path (std::vector<Geom::Path> & path_in) { if (step >= 3) { - return Effect::doEffect(path_in); + return Effect::doEffect_path(path_in); } else { // return here std::vector<Geom::Path> path_out = path_in; @@ -73,7 +73,7 @@ LPEdoEffectStackTest::doEffect (std::vector<Geom::Path> & path_in) } Geom::Piecewise<Geom::D2<Geom::SBasis> > -LPEdoEffectStackTest::doEffect (Geom::Piecewise<Geom::D2<Geom::SBasis> > & pwd2_in) +LPEdoEffectStackTest::doEffect_pwd2 (Geom::Piecewise<Geom::D2<Geom::SBasis> > & pwd2_in) { Geom::Piecewise<Geom::D2<Geom::SBasis> > output = pwd2_in; |
