Inkscape
Vector Graphics Editor
|
Tool component that processes events and does something in response to them. More...
#include <manipulator.h>
Public Member Functions | |
Manipulator (SPDesktop *d) | |
virtual | ~Manipulator ()=default |
virtual bool | event (Inkscape::UI::Tools::ToolBase *tool, CanvasEvent const &event)=0 |
Handle input event. Returns true if handled. | |
Public Attributes | |
SPDesktop *const | _desktop |
Tool component that processes events and does something in response to them.
Note: this class is probably redundant.
Definition at line 33 of file manipulator.h.
|
inline |
Definition at line 36 of file manipulator.h.
|
virtualdefault |
|
pure virtual |
Handle input event. Returns true if handled.
Implemented in Inkscape::UI::ControlPointSelection, Inkscape::UI::MultiPathManipulator, Inkscape::UI::PathManipulator, and Inkscape::UI::TransformHandleSet.
SPDesktop* const Inkscape::UI::Manipulator::_desktop |
Definition at line 43 of file manipulator.h.
Referenced by Inkscape::UI::MultiPathManipulator::_commit(), Inkscape::UI::PathManipulator::_commit(), Inkscape::UI::PathManipulator::_commit(), Inkscape::UI::MultiPathManipulator::_done(), Inkscape::UI::PathManipulator::_getStrokeTolerance(), Inkscape::UI::ControlPointSelection::_keyboardMove(), Inkscape::UI::ControlPointSelection::_keyboardRotate(), Inkscape::UI::ControlPointSelection::_keyboardScale(), Inkscape::UI::ControlPointSelection::_pointUngrabbed(), Inkscape::UI::PathManipulator::_updateDragPoint(), Inkscape::UI::PathManipulator::_updateOutline(), Inkscape::UI::TransformHandleSet::_updateVisibility(), Inkscape::UI::ControlPointSelection::event(), Inkscape::UI::MultiPathManipulator::event(), Inkscape::UI::TransformHandle::grabbed(), Inkscape::UI::PathManipulator::PathManipulator(), Inkscape::UI::PathManipulator::rotateHandle(), Inkscape::UI::PathManipulator::scaleHandle(), Inkscape::UI::TransformHandleSet::TransformHandleSet(), and Inkscape::UI::TransformHandle::ungrabbed().