|
Krita Source Code Documentation
|
#include <kis_update_selection_job.h>
Inheritance diagram for KisUpdateSelectionJob:Public Member Functions | |
| QString | debugName () const override |
| KisUpdateSelectionJob (KisSelectionSP selection, const QRect &updateRect=QRect()) | |
| int | levelOfDetail () const override |
| bool | overrides (const KisSpontaneousJob *otherJob) override |
| void | run () override |
Public Member Functions inherited from KisSpontaneousJob | |
| bool | isExclusive () const |
Public Member Functions inherited from KisRunnable | |
| virtual | ~KisRunnable () |
Private Attributes | |
| KisSelectionSP | m_selection |
| QRect | m_updateRect |
Additional Inherited Members | |
Protected Member Functions inherited from KisSpontaneousJob | |
| void | setExclusive (bool value) |
Definition at line 13 of file kis_update_selection_job.h.
| KisUpdateSelectionJob::KisUpdateSelectionJob | ( | KisSelectionSP | selection, |
| const QRect & | updateRect = QRect() ) |
TODO: we should implement correct KisShapeSelectionCanvas for projection. See a comment in KisUpdateSelectionJob::run().
Right now, since this job accesses some projections for write, we should declare it as exclusive
Definition at line 12 of file kis_update_selection_job.cpp.
References KisSpontaneousJob::setExclusive().
|
overridevirtual |
Implements KisRunnableWithDebugName.
Definition at line 78 of file kis_update_selection_job.cpp.
|
overridevirtual |
Implements KisSpontaneousJob.
Definition at line 73 of file kis_update_selection_job.cpp.
|
overridevirtual |
Implements KisSpontaneousJob.
Definition at line 27 of file kis_update_selection_job.cpp.
References m_selection, and m_updateRect.
|
overridevirtual |
TODO: in the future we should remove selection projection calculation from this job and to reuse a fully-featured shape layer canvas from KisShapeLayer. Then projection calculation will be a little bit more efficient.
Implements KisRunnable.
Definition at line 44 of file kis_update_selection_job.cpp.
References KisBaseNode::extent(), m_selection, m_updateRect, KisSelection::notifySelectionChanged(), KisSelection::parentNode, KisNode::projectionLeaf, KisNode::setDirty(), and KisSelection::updateProjection().
|
private |
Definition at line 24 of file kis_update_selection_job.h.
|
private |
Definition at line 25 of file kis_update_selection_job.h.