#include <KoColorSpaceMaths.h>
Fonctions membres publiques | |
template<> | |
quint16 | scaleToA (quint8 a) |
template<> | |
quint8 | scaleToA (quint8 a) |
template<> | |
quint8 | scaleToA (quint16 a) |
template<> | |
quint16 | scaleToA (quint16 a) |
Fonctions membres publiques statiques | |
static _T | multiply (_T a, _Tdst b) |
static _T | divide (_T a, _Tdst b) |
static _T | blend (_T a, _T b, qint64 alpha) |
static _Tdst | scaleToA (_T a) |
Types privés | |
typedef KoColorSpaceMathsTraits< _T > | traits |
typedef traits::compositetype | traits_compositetype |
Définition à la ligne 72 du fichier KoColorSpaceMaths.h.
typedef KoColorSpaceMathsTraits<_T> KoColorSpaceMaths< _T, _Tdst >::traits [private] |
Définition à la ligne 73 du fichier KoColorSpaceMaths.h.
typedef traits::compositetype KoColorSpaceMaths< _T, _Tdst >::traits_compositetype [private] |
Définition à la ligne 74 du fichier KoColorSpaceMaths.h.
static _T KoColorSpaceMaths< _T, _Tdst >::multiply | ( | _T | a, | |
_Tdst | b | |||
) | [inline, static] |
Définition à la ligne 76 du fichier KoColorSpaceMaths.h.
Références KoColorSpaceMathsTraits< _T >::max().
Référencé par KoColorSpaceAbstract< AlphaU8Traits >::applyAlphaU8Mask(), KoColorSpaceAbstract< AlphaU8Traits >::applyInverseAlphaU8Mask(), KoCompositeOpOver< _CSTraits >::composite(), KoCompositeOpErase< _CSTraits >::composite(), KoColorSpaceAbstract< AlphaU8Traits >::convolveColors(), KoColorSpaceAbstract< AlphaU8Traits >::mixColors(), et KoColorSpaceAbstract< AlphaU8Traits >::multiplyAlpha().
Voici le graphe d'appel pour cette fonction :
Voici le graphe d'appel pour cette fonction :
static _T KoColorSpaceMaths< _T, _Tdst >::divide | ( | _T | a, | |
_Tdst | b | |||
) | [inline, static] |
Définition à la ligne 80 du fichier KoColorSpaceMaths.h.
Référencé par KoCompositeOpOver< _CSTraits >::composite().
Voici le graphe d'appel pour cette fonction :
static _T KoColorSpaceMaths< _T, _Tdst >::blend | ( | _T | a, | |
_T | b, | |||
qint64 | alpha | |||
) | [inline, static] |
Définition à la ligne 84 du fichier KoColorSpaceMaths.h.
Références KoColorSpaceMathsTraits< _T >::bits().
Voici le graphe d'appel pour cette fonction :
static _Tdst KoColorSpaceMaths< _T, _Tdst >::scaleToA | ( | _T | a | ) | [inline, static] |
This function will scale a value of type _T to fit into a _Tdst.
Définition à la ligne 92 du fichier KoColorSpaceMaths.h.
Références KoColorSpaceMathsTraits< _T >::bits().
Référencé par KoCompositeOpOver< _CSTraits >::composite(), KoColorSpaceAbstract< AlphaU8Traits >::getAlpha(), KoColorSpaceAbstract< AlphaU8Traits >::multiplyAlpha(), KoColorSpaceAbstract< AlphaU8Traits >::scaleToU16(), KoColorSpaceAbstract< AlphaU8Traits >::scaleToU8(), et KoColorSpaceAbstract< AlphaU8Traits >::setAlpha().
Voici le graphe d'appel pour cette fonction :
Voici le graphe d'appel pour cette fonction :
quint16 KoColorSpaceMaths< quint8, quint16 >::scaleToA | ( | quint8 | a | ) |
Définition à la ligne 31 du fichier KoColorSpaceMaths.cpp.
Références UINT8_TO_UINT16().
Voici le graphe d'appel pour cette fonction :
quint8 KoColorSpaceMaths< quint8, quint8 >::scaleToA | ( | quint8 | a | ) |
Définition à la ligne 37 du fichier KoColorSpaceMaths.cpp.
quint8 KoColorSpaceMaths< quint16, quint8 >::scaleToA | ( | quint16 | a | ) |
Définition à la ligne 43 du fichier KoColorSpaceMaths.cpp.
Références UINT16_TO_UINT8().
Voici le graphe d'appel pour cette fonction :
quint16 KoColorSpaceMaths< quint16, quint16 >::scaleToA | ( | quint16 | a | ) |
Définition à la ligne 49 du fichier KoColorSpaceMaths.cpp.