Référence de la classe KoColorSpaceMaths< _T, _Tdst > (modèle)

#include <KoColorSpaceMaths.h>

Liste de tous les membres

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


Description détaillée

template<typename _T, typename _Tdst = _T>
class KoColorSpaceMaths< _T, _Tdst >

Définition à la ligne 72 du fichier KoColorSpaceMaths.h.


Documentation des définition de type membres

template<typename _T, typename _Tdst = _T>
typedef KoColorSpaceMathsTraits<_T> KoColorSpaceMaths< _T, _Tdst >::traits [private]

Définition à la ligne 73 du fichier KoColorSpaceMaths.h.

template<typename _T, typename _Tdst = _T>
typedef traits::compositetype KoColorSpaceMaths< _T, _Tdst >::traits_compositetype [private]

Définition à la ligne 74 du fichier KoColorSpaceMaths.h.


Documentation des fonctions membres

template<typename _T, typename _Tdst = _T>
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 :

template<typename _T, typename _Tdst = _T>
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 :

template<typename _T, typename _Tdst = _T>
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 :

template<typename _T, typename _Tdst = _T>
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 :

template<>
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 :

template<>
quint8 KoColorSpaceMaths< quint8, quint8 >::scaleToA ( quint8  a  ) 

Définition à la ligne 37 du fichier KoColorSpaceMaths.cpp.

template<>
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 :

template<>
quint16 KoColorSpaceMaths< quint16, quint16 >::scaleToA ( quint16  a  ) 

Définition à la ligne 49 du fichier KoColorSpaceMaths.cpp.


La documentation de cette classe a été générée à partir du fichier suivant :
Généré le Wed Nov 22 23:44:27 2006 pour KPlato par  doxygen 1.5.1-p1