Code

Rename "Skeletal Strokes" LPE to "Path along path" to better describe what it does.
authorjohanengelen <johanengelen@users.sourceforge.net>
Sat, 25 Aug 2007 21:24:25 +0000 (21:24 +0000)
committerjohanengelen <johanengelen@users.sourceforge.net>
Sat, 25 Aug 2007 21:24:25 +0000 (21:24 +0000)
src/live_effects/effect.cpp
src/live_effects/lpe-skeletalstrokes.cpp

index 6a880c07b81e322c2a229c55cd74d23da136474a..a7f4d5781b7706650077eb7676dd635ca0368631 100644 (file)
@@ -37,7 +37,7 @@ namespace LivePathEffect {
 \r
 const Util::EnumData<EffectType> LPETypeData[INVALID_LPE] = {\r
     // {constant defined in effect.h, _("name of your effect"), "name of your effect in SVG"}\r
-    {SKELETAL_STROKES,      _("Skeletal Strokes"),      "skeletal"},\r
+    {SKELETAL_STROKES,      _("Path along path"),      "skeletal"},\r
 #ifdef LPE_ENABLE_TEST_EFFECTS\r
     {SLANT,                 _("Slant"),                 "slant"},\r
     {DOEFFECTSTACK_TEST,    _("doEffect stack test"),   "doeffectstacktest"},\r
index e8cff95182651263bdcd90948394e5255540c7fe..4e8a589ce6355fe2f59e20e31904a1fdc5d3f9c1 100644 (file)
@@ -58,9 +58,9 @@ static const Util::EnumDataConverter<SkelCopyType> SkelCopyTypeConverter(SkelCop
 \r
 LPESkeletalStrokes::LPESkeletalStrokes(LivePathEffectObject *lpeobject) :\r
     Effect(lpeobject),\r
-    pattern(_("Pattern"), _("Pattern to put along path"), "pattern", &wr, this, "M0,0 L1,1"),\r
-    origin(_("Origin"), _("Origin of ?"), "origin", &wr, this, Geom::Point(0,0)),\r
-    copytype(_("Copytype"), _("tooltip"), "copytype", SkelCopyTypeConverter, &wr, this, SSCT_SINGLE_STRETCHED)\r
+    pattern(_("Pattern"), _("Path to put along path"), "pattern", &wr, this, "M0,0 L1,1"),\r
+    origin(_("Origin"), _("Startpoint of the pattern path to put along path"), "origin", &wr, this, Geom::Point(0,0)),\r
+    copytype(_("Copytype"), _("How to shape the pattern path along the path"), "copytype", SkelCopyTypeConverter, &wr, this, SSCT_SINGLE_STRETCHED)\r
 {\r
     registerParameter( dynamic_cast<Parameter *>(&origin) );\r
     registerParameter( dynamic_cast<Parameter *>(&pattern) );\r
@@ -126,7 +126,7 @@ LPESkeletalStrokes::doEffect (Geom::Piecewise<Geom::D2<Geom::SBasis> > & pwd2_in
         x*=scaling;\r
 \r
     double offs = 0;\r
-    Piecewise<D2<SBasis> >output;\r
+    Piecewise<D2<SBasis> > output;\r
     for (int i=0; i<nbCopies; i++){\r
         output.concat(compose(uskeleton,x+offs)+y*compose(n,x+offs));\r
         offs+=pattWidth;\r