diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2014-05-05 08:44:33 +0000 |
|---|---|---|
| committer | Jabiertxof <jtx@jtx.marker.es> | 2014-05-05 08:44:33 +0000 |
| commit | 8a4e7975e48ae18a719f4ecfae795fb44a188eee (patch) | |
| tree | c2262728d2bdf1825521dc4cbe71a8b2f3bf8b63 /src/ui/tool/node.h | |
| parent | update to trunk (diff) | |
| parent | Enabling path manipulator to comunicate if paths are bspline when (diff) | |
| download | inkscape-8a4e7975e48ae18a719f4ecfae795fb44a188eee.tar.gz inkscape-8a4e7975e48ae18a719f4ecfae795fb44a188eee.zip | |
adding VinÃcius work whith node tips
(bzr r11950.1.339)
Diffstat (limited to 'src/ui/tool/node.h')
| -rw-r--r-- | src/ui/tool/node.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ui/tool/node.h b/src/ui/tool/node.h index 202dbb3cd..415563a7d 100644 --- a/src/ui/tool/node.h +++ b/src/ui/tool/node.h @@ -217,6 +217,7 @@ public: Node *nodeAwayFrom(Handle *h); NodeList &nodeList() { return *(static_cast<ListNode*>(this)->ln_list); } + NodeList &nodeList() const { return *(static_cast<ListNode const*>(this)->ln_list); } /** * Move the node to the bottom of its canvas group. @@ -263,6 +264,7 @@ private: Inkscape::SnapSourceType _snapSourceType() const; Inkscape::SnapTargetType _snapTargetType() const; inline PathManipulator &_pm(); + inline PathManipulator &_pm() const; /** Determine whether two nodes are joined by a linear segment. */ static bool _is_line_segment(Node *first, Node *second); @@ -494,6 +496,10 @@ inline PathManipulator &Node::_pm() { return nodeList().subpathList().pm(); } +inline PathManipulator &Node::_pm() const { + return nodeList().subpathList().pm(); +} + // definitions for node iterator template <typename N> NodeIterator<N>::operator bool() const { |
