|
Krita Source Code Documentation
|
#include <KisLayerStyleKnockoutBlower.h>
Public Member Functions | |
| void | apply (KisPainter *painter, KisPaintDeviceSP mergedStyle, const QRect &rect) const |
| bool | isEmpty () const |
| KisLayerStyleKnockoutBlower () | |
| KisLayerStyleKnockoutBlower (const KisLayerStyleKnockoutBlower &rhs) | |
| KisSelectionSP | knockoutSelectionLazy () |
| void | resetKnockoutSelection () |
| void | setKnockoutSelection (KisSelectionSP selection) |
Private Attributes | |
| KisSelectionSP | m_knockoutSelection |
| QReadWriteLock | m_lock |
Definition at line 15 of file KisLayerStyleKnockoutBlower.h.
| KisLayerStyleKnockoutBlower::KisLayerStyleKnockoutBlower | ( | ) |
Definition at line 14 of file KisLayerStyleKnockoutBlower.cpp.
| KisLayerStyleKnockoutBlower::KisLayerStyleKnockoutBlower | ( | const KisLayerStyleKnockoutBlower & | rhs | ) |
Definition at line 18 of file KisLayerStyleKnockoutBlower.cpp.
| void KisLayerStyleKnockoutBlower::apply | ( | KisPainter * | painter, |
| KisPaintDeviceSP | mergedStyle, | ||
| const QRect & | rect ) const |
Definition at line 56 of file KisLayerStyleKnockoutBlower.cpp.
References KisPainter::bitBlt(), COMPOSITE_COPY, KIS_SAFE_ASSERT_RECOVER_NOOP, m_knockoutSelection, m_lock, KisPainter::setChannelFlags(), KisPainter::setCompositeOpId(), KisPainter::setOpacityToUnit(), and KisPainter::setSelection().
| bool KisLayerStyleKnockoutBlower::isEmpty | ( | ) | const |
Definition at line 70 of file KisLayerStyleKnockoutBlower.cpp.
References m_knockoutSelection, and m_lock.
| KisSelectionSP KisLayerStyleKnockoutBlower::knockoutSelectionLazy | ( | ) |
Definition at line 23 of file KisLayerStyleKnockoutBlower.cpp.
References KisImageResolutionProxy::identity(), m_knockoutSelection, and m_lock.
| void KisLayerStyleKnockoutBlower::resetKnockoutSelection | ( | ) |
Definition at line 50 of file KisLayerStyleKnockoutBlower.cpp.
References m_knockoutSelection, and m_lock.
| void KisLayerStyleKnockoutBlower::setKnockoutSelection | ( | KisSelectionSP | selection | ) |
Definition at line 44 of file KisLayerStyleKnockoutBlower.cpp.
References m_knockoutSelection, and m_lock.
|
private |
Definition at line 32 of file KisLayerStyleKnockoutBlower.h.
|
mutableprivate |
Definition at line 31 of file KisLayerStyleKnockoutBlower.h.