diff options
| author | Krzysztof Kosi??ski <tweenk.pl@gmail.com> | 2010-03-14 17:38:50 +0000 |
|---|---|---|
| committer | Krzysztof KosiĆski <tweenk.pl@gmail.com> | 2010-03-14 17:38:50 +0000 |
| commit | 90e813701a7865bc36755fb0f35ab74c4b6963a2 (patch) | |
| tree | 460a5260664b3e83e736918f5d2594445c3761c7 /src/ui/tool/path-manipulator.h | |
| parent | disable console output on windows per default, as this probably annoys many b... (diff) | |
| download | inkscape-90e813701a7865bc36755fb0f35ab74c4b6963a2.tar.gz inkscape-90e813701a7865bc36755fb0f35ab74c4b6963a2.zip | |
Implement keyboard shortcuts for single handle adjustments.
Minor disambiguating cleanup in node.h.
(bzr r9190)
Diffstat (limited to 'src/ui/tool/path-manipulator.h')
| -rw-r--r-- | src/ui/tool/path-manipulator.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ui/tool/path-manipulator.h b/src/ui/tool/path-manipulator.h index 1e9e50575..a8f1c957e 100644 --- a/src/ui/tool/path-manipulator.h +++ b/src/ui/tool/path-manipulator.h @@ -36,6 +36,7 @@ class CurveDragPoint; class PathCanvasGroups; class MultiPathManipulator; class Node; +class Handle; struct PathSharedData { NodeSharedData node_data; @@ -76,6 +77,9 @@ public: void reverseSubpaths(bool selected_only); void setSegmentType(SegmentType); + void scaleHandle(Node *n, int which, int dir, bool pixel); + void rotateHandle(Node *n, int which, int dir, bool pixel); + void showOutline(bool show); void showHandles(bool show); void showPathDirection(bool show); @@ -83,6 +87,7 @@ public: void setLiveObjects(bool set); void setControlsTransform(Geom::Matrix const &); void hideDragPoint(); + MultiPathManipulator &mpm() { return _multi_path_manipulator; } NodeList::iterator subdivideSegment(NodeList::iterator after, double t); NodeList::iterator extremeNode(NodeList::iterator origin, bool search_selected, @@ -113,9 +118,11 @@ private: void _externalChange(unsigned type); void _removeNodesFromSelection(); void _commit(Glib::ustring const &annotation); + void _commit(Glib::ustring const &annotation, gchar const *key); void _updateDragPoint(Geom::Point const &); void _updateOutlineOnZoomChange(); double _getStrokeTolerance(); + Handle *_chooseHandle(Node *n, int which); SubpathList _subpaths; MultiPathManipulator &_multi_path_manipulator; |
