summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: bdd7add)
raw | patch | inline | side by side (parent: bdd7add)
author | johanengelen <johanengelen@users.sourceforge.net> | |
Wed, 2 Jan 2008 18:23:25 +0000 (18:23 +0000) | ||
committer | johanengelen <johanengelen@users.sourceforge.net> | |
Wed, 2 Jan 2008 18:23:25 +0000 (18:23 +0000) |
index 0771edb4761b67fc1daa4b6861f1a88200d1dd3d..c664af049ef5ef60b1dfec77b101d2b690e83a1e 100644 (file)
}
void
-Effect::setup_notepath(Inkscape::NodePath::Path *np)
+Effect::setup_nodepath(Inkscape::NodePath::Path *np)
{
np->show_helperpath = true;
np->helperpath_rgba = 0xff0000ff;
index 4c1e4e0eb1a955d71b3e2e8d07ba4cdba8f33c14..535cec0b6c12ea92830e723b3a7ae05b88de31bc 100644 (file)
virtual void resetDefaults(SPItem * item);
- virtual void setup_notepath(Inkscape::NodePath::Path *np);
+ virtual void setup_nodepath(Inkscape::NodePath::Path *np);
virtual void transform_multiply(Geom::Matrix const& postmul, bool set);
index 85eee66f9cbd3710d416096dbcfe807926e18554..00709f66cb3c2f69a5e0940bb307153771cf85fa 100644 (file)
}
void
-LPEGears::setup_notepath(Inkscape::NodePath::Path *np)
+LPEGears::setup_nodepath(Inkscape::NodePath::Path *np)
{
- Effect::setup_notepath(np);
+ Effect::setup_nodepath(np);
np->straight_path = true;
}
index fe210addac6fbb5a35497e66caf8bcfb2ee1b1f6..d046c3640df9d7ab2d9b0cb99e58a02f51c4ce91 100644 (file)
virtual std::vector<Geom::Path> doEffect_path (std::vector<Geom::Path> & path_in);
- virtual void setup_notepath(Inkscape::NodePath::Path *np);
+ virtual void setup_nodepath(Inkscape::NodePath::Path *np);
private:
ScalarParam teeth;
index bd3fe906e03b903951db3509d8c5c744cb1d6395..08af7f928b6c2f4f99c38123d55a824f58e8d75b 100644 (file)
virtual Glib::ustring * param_getTooltip() { return ¶m_tooltip; };
virtual void param_editOncanvas(SPItem * /*item*/, SPDesktop * /*dt*/) {};
- virtual void param_setup_notepath(Inkscape::NodePath::Path */*np*/) {};
+ virtual void param_setup_nodepath(Inkscape::NodePath::Path */*np*/) {};
virtual void param_transform_multiply(Geom::Matrix const& /*postmul*/, bool /*set*/) {};
index 53e15c9a5dc3b65eadb0a35fdaf94871c9693a13..9bc81d52111a586524d77e397cbc3c69cce68c9d 100644 (file)
}
void
-PathParam::param_setup_notepath(Inkscape::NodePath::Path *np)
+PathParam::param_setup_nodepath(Inkscape::NodePath::Path *np)
{
np->show_helperpath = true;
np->helperpath_rgba = 0x009000ff;
index 696f27a873045bb55563814aab926d5a2679460e..a269f3e4f26bf2a034c6034dba01b65e7c819d1d 100644 (file)
void param_set_and_write_new_value (Geom::Piecewise<Geom::D2<Geom::SBasis> > newpath);
void param_editOncanvas(SPItem * item, SPDesktop * dt);
- void param_setup_notepath(Inkscape::NodePath::Path *np);
+ void param_setup_nodepath(Inkscape::NodePath::Path *np);
virtual void param_transform_multiply(Geom::Matrix const& /*postmul*/, bool /*set*/) {};
diff --git a/src/nodepath.cpp b/src/nodepath.cpp
index 4c0727d15fae3baf1c2fd69cc67b47713e53df3b..38552f7f785ee95567b27b1ce4fba0faf74ecd12 100644 (file)
--- a/src/nodepath.cpp
+++ b/src/nodepath.cpp
np->repr_nodetypes_key = g_strconcat(np->repr_key, "-nodetypes", NULL);
Inkscape::LivePathEffect::Parameter *lpeparam = LIVEPATHEFFECT(object)->lpe->getParameter(repr_key_in);
if (lpeparam) {
- lpeparam->param_setup_notepath(np);
+ lpeparam->param_setup_nodepath(np);
}
} else {
np->repr_nodetypes_key = g_strdup("sodipodi:nodetypes");
LivePathEffectObject *lpeobj = sp_shape_get_livepatheffectobject(SP_SHAPE(np->object));
if (lpeobj && lpeobj->lpe) {
- lpeobj->lpe->setup_notepath(np);
+ lpeobj->lpe->setup_nodepath(np);
}
} else {
np->repr_key = g_strdup("d");