diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2014-05-05 09:50:39 +0000 |
|---|---|---|
| committer | Jabiertxof <jtx@jtx.marker.es> | 2014-05-05 09:50:39 +0000 |
| commit | 77ec197912229a64495bda39ac0b0943580baaaf (patch) | |
| tree | 55950450729c961c0e6ac9e2b6dd0498a5795e3f /src/ui/tool/node.h | |
| parent | update to trunk (diff) | |
| download | inkscape-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.h | 4 |
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(); } |
