|
Krita Source Code Documentation
|
#include <kis_mirror_processing_visitor.h>
Inheritance diagram for KisMirrorProcessingVisitor:Public Member Functions | |
| KisMirrorProcessingVisitor (const QRect &bounds, Qt::Orientation orientation) | |
| KisMirrorProcessingVisitor (KisSelectionSP selection, Qt::Orientation orientation) | |
Public Member Functions inherited from KisSimpleProcessingVisitor | |
| void | visit (KisAdjustmentLayer *layer, KisUndoAdapter *undoAdapter) override |
| void | visit (KisCloneLayer *layer, KisUndoAdapter *undoAdapter) override |
| void | visit (KisColorizeMask *mask, KisUndoAdapter *undoAdapter) override |
| void | visit (KisExternalLayer *layer, KisUndoAdapter *undoAdapter) override |
| void | visit (KisFilterMask *mask, KisUndoAdapter *undoAdapter) override |
| void | visit (KisGeneratorLayer *layer, KisUndoAdapter *undoAdapter) override |
| void | visit (KisGroupLayer *layer, KisUndoAdapter *undoAdapter) override |
| void | visit (KisNode *node, KisUndoAdapter *undoAdapter) override |
| void | visit (KisPaintLayer *layer, KisUndoAdapter *undoAdapter) override |
| void | visit (KisSelectionMask *mask, KisUndoAdapter *undoAdapter) override |
| void | visit (KisTransformMask *mask, KisUndoAdapter *undoAdapter) override |
| void | visit (KisTransparencyMask *mask, KisUndoAdapter *undoAdapter) override |
| ~KisSimpleProcessingVisitor () override | |
Public Member Functions inherited from KisProcessingVisitor | |
| virtual | ~KisProcessingVisitor () |
Public Member Functions inherited from KisShared | |
| bool | deref () |
| bool | ref () |
| int | refCount () |
| QAtomicInt * | sharedWeakReference () |
Private Member Functions | |
| KUndo2Command * | createInitCommand () override |
| void | mirrorDevice (KisPaintDeviceSP device) |
| void | transformPaintDevice (KisPaintDeviceSP device, KisUndoAdapter *undoAdapter) |
| void | visitColorizeMask (KisColorizeMask *node, KisUndoAdapter *undoAdapter) override |
| void | visitExternalLayer (KisExternalLayer *layer, KisUndoAdapter *undoAdapter) override |
| void | visitNodeWithPaintDevice (KisNode *node, KisUndoAdapter *undoAdapter) override |
Private Attributes | |
| qreal | m_axis = 0.0 |
| QRect | m_bounds |
| Qt::Orientation | m_orientation |
| KisSelectionBasedProcessingHelper | m_selectionHelper |
Additional Inherited Members | |
Protected Member Functions inherited from KisShared | |
| KisShared () | |
| ~KisShared () | |
Definition at line 17 of file kis_mirror_processing_visitor.h.
| KisMirrorProcessingVisitor::KisMirrorProcessingVisitor | ( | const QRect & | bounds, |
| Qt::Orientation | orientation ) |
Definition at line 23 of file kis_mirror_processing_visitor.cpp.
References m_axis, m_bounds, and m_orientation.
| KisMirrorProcessingVisitor::KisMirrorProcessingVisitor | ( | KisSelectionSP | selection, |
| Qt::Orientation | orientation ) |
Definition at line 33 of file kis_mirror_processing_visitor.cpp.
References m_selectionHelper, and KisSelectionBasedProcessingHelper::setSelection().
|
overrideprivatevirtual |
Create a command that initializes the processing visitor before running on all the layers. The command is executed sequentially, non-exclusively on the image by applicator.
Reimplemented from KisProcessingVisitor.
Definition at line 39 of file kis_mirror_processing_visitor.cpp.
References KisSelectionBasedProcessingHelper::createInitCommand(), and m_selectionHelper.
|
private |
Definition at line 44 of file kis_mirror_processing_visitor.cpp.
References m_axis, m_orientation, and KisTransformWorker::mirror().
|
private |
Definition at line 49 of file kis_mirror_processing_visitor.cpp.
References m_selectionHelper, and KisSelectionBasedProcessingHelper::transformPaintDevice().
|
overrideprivatevirtual |
Implements KisSimpleProcessingVisitor.
Definition at line 78 of file kis_mirror_processing_visitor.cpp.
References KisColorizeMask::allPaintDevices(), and transformPaintDevice().
|
overrideprivatevirtual |
Implements KisSimpleProcessingVisitor.
Definition at line 59 of file kis_mirror_processing_visitor.cpp.
References m_bounds, m_orientation, and KisTransformProcessingVisitor::visit().
|
overrideprivatevirtual |
Implements KisSimpleProcessingVisitor.
Definition at line 54 of file kis_mirror_processing_visitor.cpp.
References KisBaseNode::paintDevice(), and transformPaintDevice().
|
private |
Definition at line 38 of file kis_mirror_processing_visitor.h.
|
private |
Definition at line 36 of file kis_mirror_processing_visitor.h.
|
private |
Definition at line 37 of file kis_mirror_processing_visitor.h.
|
private |
Definition at line 40 of file kis_mirror_processing_visitor.h.