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 writerId, int index, 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 writerId, int index)
 
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
 
int m_writerId
 

Additional Inherited Members

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

Detailed Description

Definition at line 13 of file recorder_image_copying_job.h.

Constructor & Destructor Documentation

◆ RecorderImageCopyingJob()

RecorderImageCopyingJob::RecorderImageCopyingJob ( KisPaintDeviceSP device,
const QRect & rect,
int writerId,
int index )

◆ ~RecorderImageCopyingJob()

RecorderImageCopyingJob::~RecorderImageCopyingJob ( )

Definition at line 17 of file recorder_image_copying_job.cpp.

18{
19}

Member Function Documentation

◆ debugName()

QString RecorderImageCopyingJob::debugName ( ) const
overridevirtual

Implements KisRunnableWithDebugName.

Definition at line 35 of file recorder_image_copying_job.cpp.

36{
37 return "KisImageCopyingJobBase";
38}

◆ levelOfDetail()

int RecorderImageCopyingJob::levelOfDetail ( ) const
inlineoverridevirtual

Implements KisSpontaneousJob.

Definition at line 25 of file recorder_image_copying_job.h.

26 {
27 return 0;
28 }

◆ overrides()

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

Implements KisSpontaneousJob.

Definition at line 29 of file recorder_image_copying_job.cpp.

30{
31 Q_UNUSED(_otherJob);
32 return false;
33}

◆ run()

void RecorderImageCopyingJob::run ( )
overridevirtual

Implements KisRunnable.

Definition at line 21 of file recorder_image_copying_job.cpp.

22{
25
27}
void makeCloneFromRough(KisPaintDeviceSP src, const QRect &minimalRect)
const KoColorSpace * colorSpace() const
void sigImageCopyingDoneWithData(int writerId, int index, KisPaintDeviceSP device)

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

◆ sigImageCopyingDoneWithData

void RecorderImageCopyingJob::sigImageCopyingDoneWithData ( int writerId,
int index,
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 34 of file recorder_image_copying_job.h.

◆ m_outputDevice

KisPaintDeviceSP RecorderImageCopyingJob::m_outputDevice
private

Definition at line 35 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_writerId

int RecorderImageCopyingJob::m_writerId
private

Definition at line 36 of file recorder_image_copying_job.h.


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