summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4169df8)
raw | patch | inline | side by side (parent: 4169df8)
author | cilix42 <cilix42@users.sourceforge.net> | |
Thu, 12 Jun 2008 13:29:54 +0000 (13:29 +0000) | ||
committer | cilix42 <cilix42@users.sourceforge.net> | |
Thu, 12 Jun 2008 13:29:54 +0000 (13:29 +0000) |
index 18d05fe672e189c0a8d2e59f3e0fc7e7ee578741..6103a3d18f6ff2f1e0c9e630ac441d55bc884b77 100644 (file)
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"));
}
index cf6d1cecd91ce583f588ed013239abd98d840196..9e7b5d8ea799d0ef5031a8c890919de90bd19987 100644 (file)
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);
index bbf952e19925eada68e15c08923dc2cf35587c80..e43efc01aedee1baee02174ef6ffa48496007bb0 100644 (file)
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 = ']';
index 9fbe426a5d7ce334a1fcd087eb852058148b4107..6ca785001da5b6cf46630d052760de2c75ea637e 100644 (file)
@@ -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 9013eb863f56a92854688ee950e0a914ec67f7d2..470e97d1990d643aa9d38bc77d537d2ec5bb6819 100644 (file)
--- a/src/sp-lpe-item.cpp
+++ b/src/sp-lpe-item.cpp
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