diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2008-04-08 17:50:06 +0000 |
|---|---|---|
| committer | johanengelen <johanengelen@users.sourceforge.net> | 2008-04-08 17:50:06 +0000 |
| commit | 586cb25f967bbac8815aba77781d21f5d0763b89 (patch) | |
| tree | ddf2afe639c6e9d591555d88739bec1f225c951d /src/live_effects/lpe-bendpath.cpp | |
| parent | since marker size depends on stroke width, write stroke width if there's no s... (diff) | |
| download | inkscape-586cb25f967bbac8815aba77781d21f5d0763b89.tar.gz inkscape-586cb25f967bbac8815aba77781d21f5d0763b89.zip | |
rename LPEPathAlongPath -> LPEBendPath
(bzr r5385)
Diffstat (limited to '')
| -rw-r--r-- | src/live_effects/lpe-bendpath.cpp (renamed from src/live_effects/lpe-pathalongpath.cpp) | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/live_effects/lpe-pathalongpath.cpp b/src/live_effects/lpe-bendpath.cpp index d17a0f84f..026c8fb5f 100644 --- a/src/live_effects/lpe-pathalongpath.cpp +++ b/src/live_effects/lpe-bendpath.cpp @@ -1,4 +1,4 @@ -#define INKSCAPE_LPE_PATHALONGPATH_CPP +#define INKSCAPE_LPE_BENDPATH_CPP /* * Copyright (C) Johan Engelen 2007 <j.b.c.engelen@utwente.nl> @@ -7,7 +7,7 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ -#include "live_effects/lpe-pathalongpath.h" +#include "live_effects/lpe-bendpath.h" #include "sp-shape.h" #include "sp-item.h" #include "sp-path.h" @@ -54,7 +54,7 @@ first) but I think we can first forget about them. namespace Inkscape { namespace LivePathEffect { -LPEPathAlongPath::LPEPathAlongPath(LivePathEffectObject *lpeobject) : +LPEBendPath::LPEBendPath(LivePathEffectObject *lpeobject) : Effect(lpeobject), bend_path(_("Bend path"), _("Path along which to bend the original path"), "bendpath", &wr, this, "M0,0 L1,0"), prop_scale(_("Width"), _("Width of the path"), "prop_scale", &wr, this, 1), @@ -72,13 +72,13 @@ LPEPathAlongPath::LPEPathAlongPath(LivePathEffectObject *lpeobject) : groupSpecialBehavior = false; } -LPEPathAlongPath::~LPEPathAlongPath() +LPEBendPath::~LPEBendPath() { } void -LPEPathAlongPath::doBeforeEffect (SPLPEItem *lpeitem) +LPEBendPath::doBeforeEffect (SPLPEItem *lpeitem) { if(SP_IS_GROUP(lpeitem)) { @@ -103,7 +103,7 @@ LPEPathAlongPath::doBeforeEffect (SPLPEItem *lpeitem) Geom::Piecewise<Geom::D2<Geom::SBasis> > -LPEPathAlongPath::doEffect_pwd2 (Geom::Piecewise<Geom::D2<Geom::SBasis> > & pwd2_in) +LPEBendPath::doEffect_pwd2 (Geom::Piecewise<Geom::D2<Geom::SBasis> > & pwd2_in) { using namespace Geom; @@ -145,7 +145,7 @@ LPEPathAlongPath::doEffect_pwd2 (Geom::Piecewise<Geom::D2<Geom::SBasis> > & pwd2 } void -LPEPathAlongPath::resetDefaults(SPItem * item) +LPEBendPath::resetDefaults(SPItem * item) { if (SP_IS_PATH(item) || SP_IS_GROUP(item)) { @@ -189,7 +189,7 @@ LPEPathAlongPath::resetDefaults(SPItem * item) } void -LPEPathAlongPath::transform_multiply(Geom::Matrix const& postmul, bool set) +LPEBendPath::transform_multiply(Geom::Matrix const& postmul, bool set) { // TODO: implement correct transformation instead of this default behavior Effect::transform_multiply(postmul, set); |
