Krita Source Code Documentation
Loading...
Searching...
No Matches
KoPathToolHandle Class Referenceabstract

#include <KoPathToolHandle.h>

+ Inheritance diagram for KoPathToolHandle:

Public Member Functions

virtual QRectF boundingRect () const =0
 
virtual bool check (const QList< KoPathShape * > &selectedShapes)=0
 
virtual KoInteractionStrategyhandleMousePress (KoPointerEvent *event)=0
 
 KoPathToolHandle (KoPathTool *tool)
 
virtual void paint (QPainter &painter, const KoViewConverter &converter, qreal handleRadius, int decorationThickness)=0
 
virtual void trySelectHandle ()
 
virtual ~KoPathToolHandle ()
 

Protected Attributes

KoPathToolm_tool
 

Detailed Description

Definition at line 28 of file KoPathToolHandle.h.

Constructor & Destructor Documentation

◆ KoPathToolHandle()

KoPathToolHandle::KoPathToolHandle ( KoPathTool * tool)
explicit

Definition at line 26 of file KoPathToolHandle.cpp.

27 : m_tool(tool)
28{
29}
KoPathTool * m_tool

◆ ~KoPathToolHandle()

KoPathToolHandle::~KoPathToolHandle ( )
virtual

Definition at line 31 of file KoPathToolHandle.cpp.

32{
33}

Member Function Documentation

◆ boundingRect()

virtual QRectF KoPathToolHandle::boundingRect ( ) const
pure virtual

Implemented in PointHandle, and ParameterHandle.

◆ check()

virtual bool KoPathToolHandle::check ( const QList< KoPathShape * > & selectedShapes)
pure virtual

Implemented in PointHandle, and ParameterHandle.

◆ handleMousePress()

virtual KoInteractionStrategy * KoPathToolHandle::handleMousePress ( KoPointerEvent * event)
pure virtual

Implemented in PointHandle, and ParameterHandle.

◆ paint()

virtual void KoPathToolHandle::paint ( QPainter & painter,
const KoViewConverter & converter,
qreal handleRadius,
int decorationThickness )
pure virtual

Implemented in PointHandle, and ParameterHandle.

◆ trySelectHandle()

virtual void KoPathToolHandle::trySelectHandle ( )
inlinevirtual

Reimplemented in PointHandle.

Definition at line 39 of file KoPathToolHandle.h.

39{};

Member Data Documentation

◆ m_tool

KoPathTool* KoPathToolHandle::m_tool
protected

Definition at line 42 of file KoPathToolHandle.h.


The documentation for this class was generated from the following files: