Krita Source Code Documentation
Loading...
Searching...
No Matches
KoCmykU16Traits Struct Reference

#include <KoCmykColorSpaceTraits.h>

+ Inheritance diagram for KoCmykU16Traits:

Additional Inherited Members

- Public Types inherited from KoCmykTraits< quint16 >
typedef quint16 channels_type
 
typedef KoColorSpaceTrait< quint16, 5, 4 > parent
 
- Public Types inherited from KoColorSpaceTrait< _channels_type_, _channels_nb_, _alpha_pos_ >
typedef _channels_type_ channels_type
 the type of the value of the channels of this color space
 
typedef KoColorSpaceMathsTraits< _channels_type_ > math_trait
 the associated math class
 
- Static Public Member Functions inherited from KoCmykTraits< quint16 >
static channels_type C (quint8 *data)
 
static channels_type k (quint8 *data)
 
static channels_type M (quint8 *data)
 
static void setC (quint8 *data, channels_type nv)
 Set the Cyan component.
 
static void setK (quint8 *data, channels_type nv)
 Set the Key component.
 
static void setM (quint8 *data, channels_type nv)
 Set the Magenta component.
 
static void setY (quint8 *data, channels_type nv)
 Set the Yellow component.
 
static channels_type Y (quint8 *data)
 
- Static Public Member Functions inherited from KoColorSpaceTrait< _channels_type_, _channels_nb_, _alpha_pos_ >
static quint8 * allocate (quint32 nPixels)
 
static void applyAlphaNormedFloatMask (quint8 *pixels, const float *alpha, qint32 nPixels)
 
static void applyAlphaU8Mask (quint8 *pixels, const quint8 *alpha, qint32 nPixels)
 
static void applyInverseAlphaNormedFloatMask (quint8 *pixels, const float *alpha, qint32 nPixels)
 
static void applyInverseAlphaU8Mask (quint8 *pixels, const quint8 *alpha, qint32 nPixels)
 
static QString channelValueText (const quint8 *pixel, quint32 channelIndex)
 
static void copyOpacityU8 (quint8 *src, quint8 *dst, qint32 nPixels)
 
static void fillGrayBrushWithColor (quint8 *pixels, const QRgb *brush, quint8 *brushColor, qint32 nPixels)
 
static void fillInverseAlphaNormedFloatMaskWithColor (quint8 *pixels, const float *alpha, const quint8 *brushColor, qint32 nPixels)
 
static void fromNormalisedChannelsValue (quint8 *pixel, const QVector< float > &values)
 
template<typename I , typename std::enable_if_t< std::numeric_limits< I >::is_integer, int > = 1>
static void fromNormalisedChannelsValueImpl (quint8 *pixel, const QVector< float > &values)
 
template<typename I , typename std::enable_if_t<!std::numeric_limits< I >::is_integer, int > = 1>
static void fromNormalisedChannelsValueImpl (quint8 *pixel, const QVector< float > &values)
 
static void multiplyAlpha (quint8 *pixels, quint8 alpha, qint32 nPixels)
 
static const channels_typenativeArray (const quint8 *a)
 
static channels_typenativeArray (quint8 *a)
 
static void normalisedChannelsValue (const quint8 *pixel, QVector< float > &v)
 
template<typename I , typename std::enable_if_t< std::numeric_limits< I >::is_integer, int > = 1>
static void normalisedChannelsValueImpl (const quint8 *pixel, QVector< float > &v)
 
template<typename I , typename std::enable_if_t<!std::numeric_limits< I >::is_integer, int > = 1>
static void normalisedChannelsValueImpl (const quint8 *pixel, QVector< float > &v)
 
static QString normalisedChannelValueText (const quint8 *pixel, quint32 channelIndex)
 
static qreal opacityF (const quint8 *U8_pixel)
 
static quint8 opacityU8 (const quint8 *U8_pixel)
 
static void setOpacity (quint8 *pixels, qreal alpha, qint32 nPixels)
 
static void setOpacity (quint8 *pixels, quint8 alpha, qint32 nPixels)
 
static void singleChannelPixel (quint8 *dstPixel, const quint8 *srcPixel, quint32 channelIndex)
 
- Static Public Attributes inherited from KoCmykTraits< quint16 >
static const qint32 c_pos
 
static const qint32 k_pos
 
static const qint32 m_pos
 
static const qint32 y_pos
 
- Static Public Attributes inherited from KoColorSpaceTrait< _channels_type_, _channels_nb_, _alpha_pos_ >
static const qint32 alpha_pos = _alpha_pos_
 
static const quint32 channels_nb = _channels_nb_
 the number of channels in this color space
 
static const int depth = KoColorSpaceMathsTraits<_channels_type_>::bits
 the number of bit for each channel
 
static const quint32 pixelSize = channels_nb * sizeof(channels_type)
 

Detailed Description

Definition at line 82 of file KoCmykColorSpaceTraits.h.


The documentation for this struct was generated from the following file: