|
Krita Source Code Documentation
|
#include <KoClipMaskApplicator.h>
Inheritance diagram for KoClipMaskApplicator< _impl, EnableDummyType >:Public Member Functions | |
| virtual void | applyLuminanceMask (quint8 *pixels, quint8 *maskPixels, const int nPixels) const override |
| applyLuminanceMask This applies an ARGB32 mask to an ARGB32 image as per w3c specs. Both the alpha channel as well as the rec709 luminance of the mask will be taken into account to calculate the final alpha. | |
Public Member Functions inherited from KoClipMaskApplicatorBase | |
| virtual void | fallbackLuminanceMask (quint8 *pixels, quint8 *maskPixels, const int nPixels) const |
| fallbackLuminanceMask This is the fallback algorithm for leftover pixels that for whatever reason cannot be processed via xsimd. | |
| virtual | ~KoClipMaskApplicatorBase ()=default |
Definition at line 18 of file KoClipMaskApplicator.h.
|
inlineoverridevirtual |
applyLuminanceMask This applies an ARGB32 mask to an ARGB32 image as per w3c specs. Both the alpha channel as well as the rec709 luminance of the mask will be taken into account to calculate the final alpha.
| pixels | – pointer to the image pixels. |
| maskPixels | – pointer to the mask pixels. |
| nPixels | – total amount of pixels to manipulate, typical width*height. |
Implements KoClipMaskApplicatorBase.
Definition at line 19 of file KoClipMaskApplicator.h.
References KoClipMaskApplicatorBase::fallbackLuminanceMask().