summaryrefslogtreecommitdiffstats
path: root/src/live_effects/lpe-dynastroke.cpp
diff options
context:
space:
mode:
authorUnknown <kunda@scribus.net>2017-11-07 18:55:26 +0000
committerUnknown <kunda@scribus.net>2017-11-07 18:55:26 +0000
commit2659ce5a325688a3db9900d6d662e92048f0539e (patch)
treef55a967bd07fcef78b1834ea9c21f6bd93b00cb0 /src/live_effects/lpe-dynastroke.cpp
parentSet primitive filter area in feComposite and feMerge. Needed for tiling. (diff)
downloadinkscape-2659ce5a325688a3db9900d6d662e92048f0539e.tar.gz
inkscape-2659ce5a325688a3db9900d6d662e92048f0539e.zip
Misc. typos
Found using `codespell -q 3 -w --skip="*.svg,*.po,*.ts,./share/tutorials,./src/libavoid,./packaging/win32/languages,./man,./src/2geom" -I ../inkscape-whitelist.txt` whereby whitelist file contained: ``` dum iff glight substract te upto ```
Diffstat (limited to 'src/live_effects/lpe-dynastroke.cpp')
-rw-r--r--src/live_effects/lpe-dynastroke.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/live_effects/lpe-dynastroke.cpp b/src/live_effects/lpe-dynastroke.cpp
index 33e754a8a..d0655d9bd 100644
--- a/src/live_effects/lpe-dynastroke.cpp
+++ b/src/live_effects/lpe-dynastroke.cpp
@@ -22,7 +22,7 @@
namespace Inkscape {
namespace LivePathEffect {
//TODO: growfor/fadefor can be expressed in unit of width.
-//TODO: make round/sharp end choices independant for start and end.
+//TODO: make round/sharp end choices independent for start and end.
//TODO: define more styles like in calligtool.
//TODO: allow fancy ends.
@@ -166,7 +166,7 @@ LPEDynastroke::doEffect_pwd2 (Geom::Piecewise<Geom::D2<Geom::SBasis> > const & p
// General formula: n1 = w*u with ||u||=1 and u.v = -dw/dt
Piecewise<SBasis> dw = derivative(w);
Piecewise<SBasis> ncomp = sqrt(dot(v,v)-dw*dw,.1,3);
- //FIXME: is force continuity usefull? compatible with corners?
+ //FIXME: is force continuity useful? compatible with corners?
// std::cout<<"ici\n";
n1 = -dw*v + ncomp*rot90(v);
n1 = w*force_continuity(unitVector(n1),.1);