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

#include <kis_selection_component.h>

+ Inheritance diagram for KisSelectionComponent:

Public Member Functions

virtual KisSelectionComponentclone (KisSelection *selection)=0
 
virtual bool isEmpty () const =0
 
 KisSelectionComponent ()
 
virtual void moveX (qint32 x)
 
virtual void moveY (qint32 y)
 
virtual QPainterPath outlineCache () const =0
 
virtual bool outlineCacheValid () const =0
 
virtual void recalculateOutlineCache ()=0
 
virtual void renderToProjection (KisPaintDeviceSP projection)=0
 
virtual void renderToProjection (KisPaintDeviceSP projection, const QRect &r)=0
 
virtual KUndo2CommandresetToEmpty ()
 
virtual void setResolutionProxy (KisImageResolutionProxySP)
 
virtual KUndo2Commandtransform (const QTransform &transform)
 
virtual ~KisSelectionComponent ()
 

Detailed Description

Definition at line 19 of file kis_selection_component.h.

Constructor & Destructor Documentation

◆ KisSelectionComponent()

KisSelectionComponent::KisSelectionComponent ( )
inline

Definition at line 22 of file kis_selection_component.h.

22{}

◆ ~KisSelectionComponent()

virtual KisSelectionComponent::~KisSelectionComponent ( )
inlinevirtual

Definition at line 23 of file kis_selection_component.h.

23{}

Member Function Documentation

◆ clone()

virtual KisSelectionComponent * KisSelectionComponent::clone ( KisSelection * selection)
pure virtual

Implemented in KisPixelSelection, and KisShapeSelection.

◆ isEmpty()

virtual bool KisSelectionComponent::isEmpty ( ) const
pure virtual

Implemented in KisPixelSelection, and KisShapeSelection.

◆ moveX()

void KisSelectionComponent::moveX ( qint32 x)
virtual

Reimplemented in KisShapeSelection.

Definition at line 10 of file kis_selection_component.cc.

11{
12 Q_UNUSED(x);
13}

◆ moveY()

virtual void KisSelectionComponent::moveY ( qint32 y)
inlinevirtual

Reimplemented in KisShapeSelection.

Definition at line 31 of file kis_selection_component.h.

31{ Q_UNUSED(y); }

◆ outlineCache()

virtual QPainterPath KisSelectionComponent::outlineCache ( ) const
pure virtual

Implemented in KisPixelSelection, and KisShapeSelection.

◆ outlineCacheValid()

virtual bool KisSelectionComponent::outlineCacheValid ( ) const
pure virtual

Implemented in KisPixelSelection, and KisShapeSelection.

◆ recalculateOutlineCache()

virtual void KisSelectionComponent::recalculateOutlineCache ( )
pure virtual

Implemented in KisPixelSelection, and KisShapeSelection.

◆ renderToProjection() [1/2]

virtual void KisSelectionComponent::renderToProjection ( KisPaintDeviceSP projection)
pure virtual

Implemented in KisPixelSelection, and KisShapeSelection.

◆ renderToProjection() [2/2]

virtual void KisSelectionComponent::renderToProjection ( KisPaintDeviceSP projection,
const QRect & r )
pure virtual

Implemented in KisPixelSelection, and KisShapeSelection.

◆ resetToEmpty()

virtual KUndo2Command * KisSelectionComponent::resetToEmpty ( )
inlinevirtual

Reimplemented in KisShapeSelection.

Definition at line 43 of file kis_selection_component.h.

43{ return 0; }

◆ setResolutionProxy()

virtual void KisSelectionComponent::setResolutionProxy ( KisImageResolutionProxySP )
inlinevirtual

Reimplemented in KisShapeSelection.

Definition at line 45 of file kis_selection_component.h.

45{ };

◆ transform()

virtual KUndo2Command * KisSelectionComponent::transform ( const QTransform & transform)
inlinevirtual

Reimplemented in KisShapeSelection.

Definition at line 33 of file kis_selection_component.h.

33 {
34 Q_UNUSED(transform);
35 return 0;
36 }
virtual KUndo2Command * transform(const QTransform &transform)

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