From 9b91f5d8683af39ec035e7116154a91d5d2ae4da Mon Sep 17 00:00:00 2001 From: "Johan B. C. Engelen" Date: Sat, 3 Nov 2007 17:38:18 +0000 Subject: make setup_notepath function for LPE's and LPE parameters. (bzr r4018) --- src/live_effects/parameter/path.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/live_effects/parameter/path.cpp') diff --git a/src/live_effects/parameter/path.cpp b/src/live_effects/parameter/path.cpp index 68f7be4a9..53e15c9a5 100644 --- a/src/live_effects/parameter/path.cpp +++ b/src/live_effects/parameter/path.cpp @@ -31,6 +31,7 @@ #include "node-context.h" #include "desktop-handles.h" #include "selection.h" +#include "nodepath.h" namespace Inkscape { @@ -140,6 +141,14 @@ PathParam::param_editOncanvas(SPItem * item, SPDesktop * dt) shape_editor->set_item_livepatheffect_parameter(item, SP_OBJECT(param_effect->getLPEObj()), param_key.c_str()); } +void +PathParam::param_setup_notepath(Inkscape::NodePath::Path *np) +{ + np->show_helperpath = true; + np->helperpath_rgba = 0x009000ff; + np->helperpath_width = 1.0; +} + void PathParam::param_write_to_repr(const char * svgd) { -- cgit v1.2.3