Krita Source Code Documentation
Loading...
Searching...
No Matches
KoColorSpaceMathsTraits< _T > Class Template Reference

#include <KoColorSpaceMaths.h>

Detailed Description

template<typename _T>
class KoColorSpaceMathsTraits< _T >

This is an empty mainWindow that needs to be "specialized" for each possible numerical type (quint8, quint16...).

It needs to defines some static constant fields :

  • zeroValue : the zero for this numerical type
  • unitValue : the maximum value of the normal dynamic range
  • max : the maximum value
  • min : the minimum value
  • epsilon : a value close to zero but different of zero
  • bits : the bit depth

And some types :

  • compositetype the type used for composite operations (usually one with a higher bit depth)

Definition at line 39 of file KoColorSpaceMaths.h.


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