|
Krita Source Code Documentation
|
#include <KisColorSmudgeInterstrokeData.h>
Inheritance diagram for KisColorSmudgeInterstrokeData:Public Member Functions | |
| void | beginTransaction () override |
| KUndo2Command * | endTransaction () override |
| KisColorSmudgeInterstrokeData (KisPaintDeviceSP source) | |
| ~KisColorSmudgeInterstrokeData () override | |
Public Member Functions inherited from KisInterstrokeData | |
| bool | isStillCompatible () const |
| KisInterstrokeData (KisPaintDeviceSP device) | |
| virtual | ~KisInterstrokeData () |
Public Attributes | |
| KisPaintDeviceSP | colorBlendDevice |
| KisPaintDeviceSP | heightmapDevice |
| KisOverlayPaintDeviceWrapper | overlayDeviceWrapper |
| KisPaintDeviceSP | projectionDevice |
Private Attributes | |
| QScopedPointer< KisTransaction > | m_heightmapDeviceTransaction |
| QScopedPointer< KUndo2Command > | m_parentCommand |
Interstroke data needed for the lightness mode of colorsmudge brush. It stores separate high-precision projections for the heightmap and color layers. The layer itself stores only the low-precision final projection, so as soon as the interstroke data is reset, the paint is considered as "dried-out".
Definition at line 23 of file KisColorSmudgeInterstrokeData.h.
| KisColorSmudgeInterstrokeData::KisColorSmudgeInterstrokeData | ( | KisPaintDeviceSP | source | ) |
Definition at line 14 of file KisColorSmudgeInterstrokeData.cpp.
References colorBlendDevice, heightmapDevice, KoColorSpaceRegistry::instance(), KisOverlayPaintDeviceWrapper::overlay(), overlayDeviceWrapper, projectionDevice, KisPaintDevice::setDefaultBounds(), KisPaintDevice::setSupportsWraparoundMode(), and source().
|
override |
Definition at line 25 of file KisColorSmudgeInterstrokeData.cpp.
References KisOverlayPaintDeviceWrapper::endTransaction(), KIS_SAFE_ASSERT_RECOVER, m_parentCommand, overlayDeviceWrapper, and void().
|
overridevirtual |
Implements KisInterstrokeData.
Definition at line 32 of file KisColorSmudgeInterstrokeData.cpp.
References KisOverlayPaintDeviceWrapper::beginTransaction(), KisSharedPtr< T >::data(), heightmapDevice, KIS_SAFE_ASSERT_RECOVER_RETURN, m_heightmapDeviceTransaction, m_parentCommand, and overlayDeviceWrapper.
|
overridevirtual |
Implements KisInterstrokeData.
Definition at line 41 of file KisColorSmudgeInterstrokeData.cpp.
References KisOverlayPaintDeviceWrapper::endTransaction(), KIS_SAFE_ASSERT_RECOVER_RETURN_VALUE, m_heightmapDeviceTransaction, m_parentCommand, overlayDeviceWrapper, and void().
| KisPaintDeviceSP KisColorSmudgeInterstrokeData::colorBlendDevice |
Definition at line 25 of file KisColorSmudgeInterstrokeData.h.
| KisPaintDeviceSP KisColorSmudgeInterstrokeData::heightmapDevice |
Definition at line 26 of file KisColorSmudgeInterstrokeData.h.
|
private |
Definition at line 39 of file KisColorSmudgeInterstrokeData.h.
|
private |
Definition at line 38 of file KisColorSmudgeInterstrokeData.h.
| KisOverlayPaintDeviceWrapper KisColorSmudgeInterstrokeData::overlayDeviceWrapper |
Definition at line 28 of file KisColorSmudgeInterstrokeData.h.
| KisPaintDeviceSP KisColorSmudgeInterstrokeData::projectionDevice |
Definition at line 27 of file KisColorSmudgeInterstrokeData.h.