summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/live_effects/effect.cpp2
-rw-r--r--src/live_effects/lpe-perspective_path.cpp4
-rw-r--r--src/live_effects/lpe-spiro.cpp4
-rw-r--r--src/live_effects/lpe-tangent_to_curve.cpp4
-rw-r--r--src/sp-lpe-item.cpp2
5 files changed, 8 insertions, 8 deletions
diff --git a/src/live_effects/effect.cpp b/src/live_effects/effect.cpp
index 18d05fe67..6103a3d18 100644
--- a/src/live_effects/effect.cpp
+++ b/src/live_effects/effect.cpp
@@ -174,7 +174,7 @@ Effect::createAndApply(const char* name, SPDocument *doc, SPItem *item)
sp_lpe_item_add_path_effect(SP_LPE_ITEM(item), href, true);
g_free(href);
- sp_document_done(doc, SP_VERB_DIALOG_LIVE_PATH_EFFECT,
+ sp_document_done(doc, SP_VERB_DIALOG_LIVE_PATH_EFFECT,
_("Create and apply path effect"));
}
diff --git a/src/live_effects/lpe-perspective_path.cpp b/src/live_effects/lpe-perspective_path.cpp
index cf6d1cecd..9e7b5d8ea 100644
--- a/src/live_effects/lpe-perspective_path.cpp
+++ b/src/live_effects/lpe-perspective_path.cpp
@@ -69,7 +69,7 @@ LPEPerspectivePath::~LPEPerspectivePath()
void
LPEPerspectivePath::doBeforeEffect (SPLPEItem *lpeitem)
{
- original_bbox(lpeitem, true);
+ original_bbox(lpeitem, true);
}
Geom::Piecewise<Geom::D2<Geom::SBasis> >
@@ -128,7 +128,7 @@ LPEPerspectivePath::doEffect_pwd2 (Geom::Piecewise<Geom::D2<Geom::SBasis> > cons
+ preimage[2] * tmat[j][2]
+ tmat[j][3];
}
- D2<Piecewise<SBasis> > result(divide(res[0],res[2], 3),
+ D2<Piecewise<SBasis> > result(divide(res[0],res[2], 3),
divide(res[1],res[2], 3));
Piecewise<D2<SBasis> > output = sectionize(result);
diff --git a/src/live_effects/lpe-spiro.cpp b/src/live_effects/lpe-spiro.cpp
index bbf952e19..e43efc01a 100644
--- a/src/live_effects/lpe-spiro.cpp
+++ b/src/live_effects/lpe-spiro.cpp
@@ -168,8 +168,8 @@ LPESpiro::doEffect(SPCurve * curve)
double this_angle_L2 = NR::L2(this_angle);
double next_angle_L2 = NR::L2(next_angle);
double both_angles_L2 = NR::L2(this_angle + next_angle);
- if (this_angle_L2 > 1e-6 &&
- next_angle_L2 > 1e-6 &&
+ if (this_angle_L2 > 1e-6 &&
+ next_angle_L2 > 1e-6 &&
this_angle_L2 + next_angle_L2 - both_angles_L2 < 1e-3) {
if (this_is_line && !next_is_line) {
path[ip].ty = ']';
diff --git a/src/live_effects/lpe-tangent_to_curve.cpp b/src/live_effects/lpe-tangent_to_curve.cpp
index 9fbe426a5..6ca785001 100644
--- a/src/live_effects/lpe-tangent_to_curve.cpp
+++ b/src/live_effects/lpe-tangent_to_curve.cpp
@@ -144,7 +144,7 @@ KnotHolderEntityLeftEnd::knot_set(NR::Point const &p, NR::Point const &/*origin*
double lambda = Geom::nearest_point(p.to_2geom(), lpe->ptA, lpe->derivA);
lpe->length_left.param_set_value(-lambda);
- sp_lpe_item_update_patheffect (SP_LPE_ITEM(item), false, true);
+ sp_lpe_item_update_patheffect (SP_LPE_ITEM(item), false, true);
}
void
@@ -155,7 +155,7 @@ KnotHolderEntityRightEnd::knot_set(NR::Point const &p, NR::Point const &/*origin
double lambda = Geom::nearest_point(p.to_2geom(), lpe->ptA, lpe->derivA);
lpe->length_right.param_set_value(lambda);
- sp_lpe_item_update_patheffect (SP_LPE_ITEM(item), false, true);
+ sp_lpe_item_update_patheffect (SP_LPE_ITEM(item), false, true);
}
NR::Point
diff --git a/src/sp-lpe-item.cpp b/src/sp-lpe-item.cpp
index 9013eb863..470e97d19 100644
--- a/src/sp-lpe-item.cpp
+++ b/src/sp-lpe-item.cpp
@@ -444,7 +444,7 @@ void sp_lpe_item_add_path_effect(SPLPEItem *lpeitem, gchar *value, bool reset)
lpe->resetDefaults(lpeitem);
}
- // perform this once when the effect is applied
+ // perform this once when the effect is applied
lpe->doOnApply(SP_LPE_ITEM(lpeitem));
// if the effect expects a number of mouse clicks to set a parameter path, perform the