Krita Source Code Documentation
Loading...
Searching...
No Matches
RecorderImageCopyingJob Class Reference

#include <recorder_image_copying_job.h>

+ Inheritance diagram for RecorderImageCopyingJob:

Signals

void sigImageCopyingDoneWithData (int index, QVector< QRect > regions, KisPaintDeviceSP device)
 

Public Member Functions

QString debugName () const override
 
int levelOfDetail () const override
 
bool overrides (const KisSpontaneousJob *otherJob) override
 
 RecorderImageCopyingJob (KisPaintDeviceSP device, const QRect &rect, int index, QVector< QRect > regions)
 
void run () override
 
 ~RecorderImageCopyingJob ()
 
- Public Member Functions inherited from KisSpontaneousJob
bool isExclusive () const
 
- Public Member Functions inherited from KisRunnable
virtual ~KisRunnable ()
 

Private Attributes

QRect m_area
 
KisPaintDeviceSP m_device
 
KisPaintDeviceSP m_outputDevice
 
int m_partIndex
 
QVector< QRect > m_regions
 

Additional Inherited Members

- Protected Member Functions inherited from KisSpontaneousJob
void setExclusive (bool value)
 

Detailed Description

Definition at line 14 of file recorder_image_copying_job.h.

Constructor & Destructor Documentation

◆ RecorderImageCopyingJob()

RecorderImageCopyingJob::RecorderImageCopyingJob ( KisPaintDeviceSP device,
const QRect & rect,
int index,
QVector< QRect > regions )

Definition at line 9 of file recorder_image_copying_job.cpp.

◆ ~RecorderImageCopyingJob()

RecorderImageCopyingJob::~RecorderImageCopyingJob ( )

Definition at line 20 of file recorder_image_copying_job.cpp.

21{
22}

Member Function Documentation

◆ debugName()

QString RecorderImageCopyingJob::debugName ( ) const
overridevirtual

Implements KisRunnableWithDebugName.

Definition at line 38 of file recorder_image_copying_job.cpp.

39{
40 return "KisImageCopyingJobBase";
41}

◆ levelOfDetail()

int RecorderImageCopyingJob::levelOfDetail ( ) const
inlineoverridevirtual

Implements KisSpontaneousJob.

Definition at line 26 of file recorder_image_copying_job.h.

27 {
28 return 0;
29 }

◆ overrides()

bool RecorderImageCopyingJob::overrides ( const KisSpontaneousJob * otherJob)
overridevirtual

Implements KisSpontaneousJob.

Definition at line 32 of file recorder_image_copying_job.cpp.

33{
34 Q_UNUSED(_otherJob);
35 return false;
36}

◆ run()

void RecorderImageCopyingJob::run ( )
overridevirtual

Implements KisRunnable.

Definition at line 24 of file recorder_image_copying_job.cpp.

25{
28
30}
void makeCloneFromRough(KisPaintDeviceSP src, const QRect &minimalRect)
const KoColorSpace * colorSpace() const
void sigImageCopyingDoneWithData(int index, QVector< QRect > regions, KisPaintDeviceSP device)

References KisPaintDevice::colorSpace(), m_area, m_device, m_outputDevice, m_partIndex, m_regions, KisPaintDevice::makeCloneFromRough(), and sigImageCopyingDoneWithData().

◆ sigImageCopyingDoneWithData

void RecorderImageCopyingJob::sigImageCopyingDoneWithData ( int index,
QVector< QRect > regions,
KisPaintDeviceSP device )
signal

Member Data Documentation

◆ m_area

QRect RecorderImageCopyingJob::m_area
private

Definition at line 38 of file recorder_image_copying_job.h.

◆ m_device

KisPaintDeviceSP RecorderImageCopyingJob::m_device
private

Definition at line 35 of file recorder_image_copying_job.h.

◆ m_outputDevice

KisPaintDeviceSP RecorderImageCopyingJob::m_outputDevice
private

Definition at line 36 of file recorder_image_copying_job.h.

◆ m_partIndex

int RecorderImageCopyingJob::m_partIndex
private

Definition at line 37 of file recorder_image_copying_job.h.

◆ m_regions

QVector<QRect> RecorderImageCopyingJob::m_regions
private

Definition at line 39 of file recorder_image_copying_job.h.


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