diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2007-08-25 21:24:25 +0000 |
|---|---|---|
| committer | johanengelen <johanengelen@users.sourceforge.net> | 2007-08-25 21:24:25 +0000 |
| commit | 5f55888182ba4c6fa014993041f40296834ee85a (patch) | |
| tree | b70600c55c60d54d1a1a4a0753a966363dafeb5e /src | |
| parent | Add #define to disable "test" LPE's (diff) | |
| download | inkscape-5f55888182ba4c6fa014993041f40296834ee85a.tar.gz inkscape-5f55888182ba4c6fa014993041f40296834ee85a.zip | |
Rename "Skeletal Strokes" LPE to "Path along path" to better describe what it does.
(bzr r3584)
Diffstat (limited to 'src')
| -rw-r--r-- | src/live_effects/effect.cpp | 2 | ||||
| -rw-r--r-- | src/live_effects/lpe-skeletalstrokes.cpp | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/live_effects/effect.cpp b/src/live_effects/effect.cpp index 6a880c07b..a7f4d5781 100644 --- a/src/live_effects/effect.cpp +++ b/src/live_effects/effect.cpp @@ -37,7 +37,7 @@ namespace LivePathEffect { const Util::EnumData<EffectType> LPETypeData[INVALID_LPE] = {
// {constant defined in effect.h, _("name of your effect"), "name of your effect in SVG"}
- {SKELETAL_STROKES, _("Skeletal Strokes"), "skeletal"},
+ {SKELETAL_STROKES, _("Path along path"), "skeletal"},
#ifdef LPE_ENABLE_TEST_EFFECTS
{SLANT, _("Slant"), "slant"},
{DOEFFECTSTACK_TEST, _("doEffect stack test"), "doeffectstacktest"},
diff --git a/src/live_effects/lpe-skeletalstrokes.cpp b/src/live_effects/lpe-skeletalstrokes.cpp index e8cff9518..4e8a589ce 100644 --- a/src/live_effects/lpe-skeletalstrokes.cpp +++ b/src/live_effects/lpe-skeletalstrokes.cpp @@ -58,9 +58,9 @@ static const Util::EnumDataConverter<SkelCopyType> SkelCopyTypeConverter(SkelCop LPESkeletalStrokes::LPESkeletalStrokes(LivePathEffectObject *lpeobject) :
Effect(lpeobject),
- pattern(_("Pattern"), _("Pattern to put along path"), "pattern", &wr, this, "M0,0 L1,1"),
- origin(_("Origin"), _("Origin of ?"), "origin", &wr, this, Geom::Point(0,0)),
- copytype(_("Copytype"), _("tooltip"), "copytype", SkelCopyTypeConverter, &wr, this, SSCT_SINGLE_STRETCHED)
+ pattern(_("Pattern"), _("Path to put along path"), "pattern", &wr, this, "M0,0 L1,1"),
+ origin(_("Origin"), _("Startpoint of the pattern path to put along path"), "origin", &wr, this, Geom::Point(0,0)),
+ copytype(_("Copytype"), _("How to shape the pattern path along the path"), "copytype", SkelCopyTypeConverter, &wr, this, SSCT_SINGLE_STRETCHED)
{
registerParameter( dynamic_cast<Parameter *>(&origin) );
registerParameter( dynamic_cast<Parameter *>(&pattern) );
@@ -126,7 +126,7 @@ LPESkeletalStrokes::doEffect (Geom::Piecewise<Geom::D2<Geom::SBasis> > & pwd2_in x*=scaling;
double offs = 0;
- Piecewise<D2<SBasis> >output;
+ Piecewise<D2<SBasis> > output;
for (int i=0; i<nbCopies; i++){
output.concat(compose(uskeleton,x+offs)+y*compose(n,x+offs));
offs+=pattWidth;
|
