|
Krita Source Code Documentation
|
#include <KoPathToolHandle.h>
Inheritance diagram for PointHandle:Public Member Functions | |
| KoPathPoint * | activePoint () const |
| KoPathPoint::PointType | activePointType () const |
| QRectF | boundingRect () const override |
| bool | check (const QList< KoPathShape * > &selectedShapes) override |
| KoInteractionStrategy * | handleMousePress (KoPointerEvent *event) override |
| void | paint (QPainter &painter, const KoViewConverter &converter, qreal handleRadius, int decorationThickness) override |
| PointHandle (KoPathTool *tool, KoPathPoint *activePoint, KoPathPoint::PointType activePointType) | |
| void | trySelectHandle () override |
Public Member Functions inherited from KoPathToolHandle | |
| KoPathToolHandle (KoPathTool *tool) | |
| virtual | ~KoPathToolHandle () |
Private Attributes | |
| KoPathPoint * | m_activePoint |
| KoPathPoint::PointType | m_activePointType |
| QRectF | m_oldRepaintedRect |
Additional Inherited Members | |
Protected Attributes inherited from KoPathToolHandle | |
| KoPathTool * | m_tool |
Definition at line 45 of file KoPathToolHandle.h.
| PointHandle::PointHandle | ( | KoPathTool * | tool, |
| KoPathPoint * | activePoint, | ||
| KoPathPoint::PointType | activePointType ) |
Definition at line 36 of file KoPathToolHandle.cpp.
| KoPathPoint * PointHandle::activePoint | ( | ) | const |
Definition at line 141 of file KoPathToolHandle.cpp.
References m_activePoint.
| KoPathPoint::PointType PointHandle::activePointType | ( | ) | const |
Definition at line 146 of file KoPathToolHandle.cpp.
References m_activePointType.
|
overridevirtual |
Implements KoPathToolHandle.
Definition at line 75 of file KoPathToolHandle.cpp.
References KoPathPoint::boundingRect(), KoPathToolSelection::contains(), m_activePoint, KoPathToolHandle::m_tool, and KoPathTool::selection().
|
overridevirtual |
Implements KoPathToolHandle.
Definition at line 133 of file KoPathToolHandle.cpp.
References m_activePoint, KoPathPoint::parent(), and KoPathShape::pathPointIndex().
|
overridevirtual |
Implements KoPathToolHandle.
Definition at line 84 of file KoPathToolHandle.cpp.
References KoPathPoint::activeControlPoint1, KoPathPoint::activeControlPoint2, KoPathToolSelection::add(), KoCanvasBase::addCommand(), KoPointerEvent::button(), KoToolBase::canvas(), KoPathToolSelection::contains(), KoPathPointTypeCommand::Corner, KoPathPoint::IsSmooth, KoPathPoint::IsSymmetric, KIS_SAFE_ASSERT_RECOVER_RETURN_VALUE, m_activePoint, m_activePointType, KoPathToolHandle::m_tool, KoPointerEvent::modifiers(), KoPathPoint::Node, KoPathPoint::parent(), KoPathShape::pathPointIndex(), KoPathPoint::point, KoPointerEvent::point, KoPathPoint::properties, KoPathToolSelection::remove(), KoPathTool::selection(), KoShape::shapeToDocument(), KoPathPointTypeCommand::Smooth, and KoPathPointTypeCommand::Symmetric.
|
overridevirtual |
Implements KoPathToolHandle.
Definition at line 43 of file KoPathToolHandle.cpp.
References KoPathPoint::All, KoPathToolSelection::contains(), KoShape::createHandlePainterHelperView(), KisHandleStyle::highlightedPrimaryHandles(), m_activePoint, m_activePointType, KoPathToolHandle::m_tool, KoPathPoint::Node, KoPathPoint::None, KoPathPoint::paint(), KoPathPoint::parent(), KisHandleStyle::partiallyHighlightedPrimaryHandles(), KisHandleStyle::selectedPrimaryHandles(), KoPathTool::selection(), and KisHandlePainterHelper::setHandleStyle().
|
overridevirtual |
Reimplemented from KoPathToolHandle.
Definition at line 151 of file KoPathToolHandle.cpp.
References KoPathToolSelection::add(), KoPathToolSelection::clear(), KoPathToolSelection::contains(), KIS_SAFE_ASSERT_RECOVER_RETURN, m_activePoint, m_activePointType, KoPathToolHandle::m_tool, KoPathPoint::Node, and KoPathTool::selection().
|
private |
Definition at line 57 of file KoPathToolHandle.h.
|
private |
Definition at line 58 of file KoPathToolHandle.h.
|
mutableprivate |
Definition at line 59 of file KoPathToolHandle.h.