summaryrefslogtreecommitdiffstats
path: root/src/ui/tool/node.h
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2014-05-05 09:50:39 +0000
committerJabiertxof <jtx@jtx.marker.es>2014-05-05 09:50:39 +0000
commit77ec197912229a64495bda39ac0b0943580baaaf (patch)
tree55950450729c961c0e6ac9e2b6dd0498a5795e3f /src/ui/tool/node.h
parentupdate to trunk (diff)
downloadinkscape-77ec197912229a64495bda39ac0b0943580baaaf.tar.gz
inkscape-77ec197912229a64495bda39ac0b0943580baaaf.zip
adding const _pathmanipulatos staff to handles (handles also have tips)
(bzr r11950.1.341)
Diffstat (limited to 'src/ui/tool/node.h')
-rw-r--r--src/ui/tool/node.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ui/tool/node.h b/src/ui/tool/node.h
index 415563a7d..5971956e1 100644
--- a/src/ui/tool/node.h
+++ b/src/ui/tool/node.h
@@ -131,6 +131,7 @@ protected:
private:
inline PathManipulator &_pm();
+ inline PathManipulator &_pm() const;
Node *_parent; // the handle's lifetime does not extend beyond that of the parent node,
// so a naked pointer is OK and allows setting it during Node's construction
SPCtrlLine *_handle_line;
@@ -492,6 +493,9 @@ inline double Handle::length() const {
inline PathManipulator &Handle::_pm() {
return _parent->_pm();
}
+inline PathManipulator &Handle::_pm() const {
+ return _parent->_pm();
+}
inline PathManipulator &Node::_pm() {
return nodeList().subpathList().pm();
}