diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2008-04-14 07:36:34 +0000 |
|---|---|---|
| committer | johanengelen <johanengelen@users.sourceforge.net> | 2008-04-14 07:36:34 +0000 |
| commit | c4bf8cf15f8a51ab58b358ae84a3c761090503f5 (patch) | |
| tree | d5595266d453bb65360da4bb6951cc0da312fd69 /src/nodepath.cpp | |
| parent | fix 216898 (diff) | |
| download | inkscape-c4bf8cf15f8a51ab58b358ae84a3c761090503f5.tar.gz inkscape-c4bf8cf15f8a51ab58b358ae84a3c761090503f5.zip | |
whitespace + comment
(bzr r5437)
Diffstat (limited to 'src/nodepath.cpp')
| -rw-r--r-- | src/nodepath.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/nodepath.cpp b/src/nodepath.cpp index faade79a6..a9886046c 100644 --- a/src/nodepath.cpp +++ b/src/nodepath.cpp @@ -4738,13 +4738,17 @@ void sp_nodepath_show_helperpath(Inkscape::NodePath::Path *np, bool show) { } } -/* this function does not work yet */ +/* sp_nodepath_make_straight_path: + * Prevents user from curving the path by dragging a segment or activating handles etc. + * The resulting path is a linear interpolation between nodal points, with only straight segments. + * !!! this function does not work completely yet: it does not actively straighten the path, only prevents the path from being curved + */ void sp_nodepath_make_straight_path(Inkscape::NodePath::Path *np) { np->straight_path = true; np->show_handles = false; g_message("add code to make the path straight."); // do sp_nodepath_convert_node_type on all nodes? - // search for this text !!! "Make selected segments lines" + // coding tip: search for this text : "Make selected segments lines" } |
