|
Krita Source Code Documentation
|
#include <KoCompositeOpGeneric.h>
Inheritance diagram for KoCompositeOpGenericSCAlpha< Traits, compositeFunc, BlendingPolicy >:Public Member Functions | |
| KoCompositeOpGenericSCAlpha (const KoColorSpace *cs, const QString &id, const QString &category) | |
Public Member Functions inherited from KoCompositeOpBase< Traits, KoCompositeOpGenericSCAlpha< Traits, compositeFunc, BlendingPolicy > > | |
| void | composite (const KoCompositeOp::ParameterInfo ¶ms) const override |
| virtual void | composite (const ParameterInfo ¶ms) const |
| void | composite (quint8 *dstRowStart, qint32 dstRowStride, const quint8 *srcRowStart, qint32 srcRowStride, const quint8 *maskRowStart, qint32 maskRowStride, qint32 rows, qint32 numColumns, float opacity, const QBitArray &channelFlags=QBitArray()) const |
| KoCompositeOpBase (const KoColorSpace *cs, const QString &id, const QString &category) | |
Public Member Functions inherited from KoCompositeOp | |
| QString | category () const |
| const KoColorSpace * | colorSpace () const |
| void | composite (quint8 *dstRowStart, qint32 dstRowStride, const quint8 *srcRowStart, qint32 srcRowStride, const quint8 *maskRowStart, qint32 maskRowStride, qint32 rows, qint32 numColumns, float opacity, const QBitArray &channelFlags=QBitArray()) const |
| QString | description () const |
| QString | id () const |
| KoCompositeOp (const KoColorSpace *cs, const QString &id, const QString &category=KoCompositeOp::categoryMisc()) | |
| virtual | ~KoCompositeOp () |
Public Member Functions inherited from Private | |
| Private (KisCanvas2 *c) | |
Static Public Member Functions | |
| template<bool alphaLocked, bool allChannelFlags> | |
| static channels_type | composeColorChannels (const channels_type *src, channels_type srcAlpha, channels_type *dst, channels_type dstAlpha, channels_type maskAlpha, channels_type opacity, const QBitArray &channelFlags) |
Static Public Member Functions inherited from KoCompositeOp | |
| static QString | categoryArithmetic () |
| static QString | categoryBinary () |
| static QString | categoryDark () |
| static QString | categoryHSI () |
| static QString | categoryHSL () |
| static QString | categoryHSV () |
| static QString | categoryHSY () |
| static QString | categoryLight () |
| static QString | categoryMisc () |
| static QString | categoryMix () |
| static QString | categoryModulo () |
| static QString | categoryNegative () |
| static QString | categoryQuadratic () |
Private Types | |
| typedef KoCompositeOpBase< Traits, KoCompositeOpGenericSCAlpha< Traits, compositeFunc, BlendingPolicy > > | base_class |
| typedef Traits::channels_type | channels_type |
Static Private Attributes | |
| static const qint32 | alpha_pos = Traits::alpha_pos |
| static const qint32 | channels_nb = Traits::channels_nb |
Additional Inherited Members | |
Public Attributes inherited from KoCompositeOp | |
| QString | category |
| const KoColorSpace * | colorSpace |
| QBitArray | defaultChannelFlags |
| QString | description |
| QString | id |
Public Attributes inherited from Private | |
| KisCanvas2 * | canvas |
| int | displayedFrame |
| int | intendedFrame |
Generic CompositeOp for separable channel + alpha compositing functions
A template to generate a KoCompositeOp class by just specifying a blending/compositing function. This template works with compositing functions for separable channels (means each channel of a pixel can be processed separately) with taking alpha into consideration. Note that because of special treating of alpha, any composite op function needs to make alpha blending itself - the value of color that is written onto the projection is the same that the composite function gives (compare with KoCompositeOpGenericHSL and KoCompositeOpGenericSC).
Definition at line 298 of file KoCompositeOpGeneric.h.
|
private |
Definition at line 300 of file KoCompositeOpGeneric.h.
|
private |
Definition at line 301 of file KoCompositeOpGeneric.h.
|
inline |
Definition at line 307 of file KoCompositeOpGeneric.h.
|
inlinestatic |
Definition at line 312 of file KoCompositeOpGeneric.h.
References KoCompositeOpGenericSCAlpha< Traits, compositeFunc, BlendingPolicy >::alpha_pos, and KoCompositeOpGenericSCAlpha< Traits, compositeFunc, BlendingPolicy >::channels_nb.
|
staticprivate |
Definition at line 304 of file KoCompositeOpGeneric.h.
|
staticprivate |
Definition at line 303 of file KoCompositeOpGeneric.h.