#include <KoColorProfile.h>
Fonctions membres publiques | |
KoColorProfile (QByteArray rawData) | |
KoColorProfile (const QString &file) | |
KoColorProfile (const cmsHPROFILE profile) | |
virtual | ~KoColorProfile () |
virtual bool | load () |
virtual bool | save () |
icColorSpaceSignature | colorSpaceSignature () const |
icProfileClassSignature | deviceClass () const |
QString | productName () const |
QString | productDescription () const |
QString | productInfo () const |
QString | manufacturer () const |
cmsHPROFILE | profile () |
bool | valid () const |
bool | isSuitableForOutput () |
QString | filename () const |
QByteArray | rawData () const |
Fonctions membres publiques statiques | |
static KoColorProfile * | getScreenProfile (int screen=-1) |
Fonctions membres privées | |
bool | init () |
Attributs privés | |
cmsHPROFILE | m_profile |
icColorSpaceSignature | m_colorSpaceSignature |
icProfileClassSignature | m_deviceClass |
QString | m_productName |
QString | m_productDescription |
QString | m_productInfo |
QString | m_manufacturer |
QByteArray | m_rawData |
QString | m_filename |
bool | m_valid |
bool | m_suitableForOutput |
Amis | |
bool | operator== (const KoColorProfile &, const KoColorProfile &) |
Définition à la ligne 39 du fichier KoColorProfile.h.
KoColorProfile::KoColorProfile | ( | QByteArray | rawData | ) |
Initialize the profile using the raw data. Use it after reading the profile data inside an image file.
rawData | profile data |
Définition à la ligne 46 du fichier KoColorProfile.cpp.
Références init(), et m_profile.
Référencé par getScreenProfile().
Voici le graphe d'appel pour cette fonction :
Voici le graphe d'appel pour cette fonction :
KoColorProfile::KoColorProfile | ( | const QString & | file | ) |
Initialize a profile from the disk. You need to call the function load to actually load the profile data in memory.
file | filename of the profile |
Définition à la ligne 56 du fichier KoColorProfile.cpp.
KoColorProfile::KoColorProfile | ( | const cmsHPROFILE | profile | ) |
KoColorProfile::~KoColorProfile | ( | ) | [virtual] |
bool KoColorProfile::load | ( | ) | [virtual] |
Load the profile in memory.
Définition à la ligne 92 du fichier KoColorProfile.cpp.
Références init(), m_filename, m_profile, et m_rawData.
Voici le graphe d'appel pour cette fonction :
bool KoColorProfile::save | ( | ) | [virtual] |
Override this function to save the profile.
Définition à la ligne 158 du fichier KoColorProfile.cpp.
icColorSpaceSignature KoColorProfile::colorSpaceSignature | ( | ) | const [inline] |
icProfileClassSignature KoColorProfile::deviceClass | ( | ) | const [inline] |
Définition à la ligne 79 du fichier KoColorProfile.h.
QString KoColorProfile::productName | ( | ) | const [inline] |
Définition à la ligne 83 du fichier KoColorProfile.h.
Référencé par KoColorSpaceRegistry::addProfile(), et KoColorSpaceRegistry::colorSpace().
Voici le graphe d'appel pour cette fonction :
QString KoColorProfile::productDescription | ( | ) | const [inline] |
QString KoColorProfile::productInfo | ( | ) | const [inline] |
QString KoColorProfile::manufacturer | ( | ) | const [inline] |
cmsHPROFILE KoColorProfile::profile | ( | ) |
Définition à la ligne 144 du fichier KoColorProfile.cpp.
Références m_filename, m_profile, et m_rawData.
Référencé par KoLcmsColorSpace< AlphaU8Traits >::createBrightnessContrastAdjustment(), KoLcmsColorSpace< AlphaU8Traits >::createDesaturateAdjustment(), KoLcmsColorSpace< AlphaU8Traits >::createPerChannelAdjustment(), KoLcmsColorSpace< AlphaU8Traits >::createTransform(), KoLcmsColorSpace< AlphaU8Traits >::fromQColor(), KoLcmsColorSpace< AlphaU8Traits >::init(), et KoLcmsColorSpace< AlphaU8Traits >::toQColor().
Voici le graphe d'appel pour cette fonction :
bool KoColorProfile::valid | ( | ) | const [inline] |
Définition à la ligne 108 du fichier KoColorProfile.h.
Référencé par KoColorSpaceRegistry::addProfile().
Voici le graphe d'appel pour cette fonction :
bool KoColorProfile::isSuitableForOutput | ( | ) | [inline] |
Définition à la ligne 114 du fichier KoColorProfile.h.
QString KoColorProfile::filename | ( | ) | const [inline] |
Définition à la ligne 120 du fichier KoColorProfile.h.
QByteArray KoColorProfile::rawData | ( | ) | const [inline] |
Définition à la ligne 125 du fichier KoColorProfile.h.
KoColorProfile * KoColorProfile::getScreenProfile | ( | int | screen = -1 |
) | [static] |
Définition à la ligne 164 du fichier KoColorProfile.cpp.
Références KoColorProfile(), et Py::type().
Voici le graphe d'appel pour cette fonction :
bool KoColorProfile::init | ( | ) | [private] |
Définition à la ligne 108 du fichier KoColorProfile.cpp.
Références m_colorSpaceSignature, m_deviceClass, m_productDescription, m_productInfo, m_productName, m_profile, m_suitableForOutput, et m_valid.
Référencé par KoColorProfile(), et load().
Voici le graphe d'appel pour cette fonction :
bool operator== | ( | const KoColorProfile & | p1, | |
const KoColorProfile & | p2 | |||
) | [friend] |
Définition à la ligne 152 du fichier KoColorProfile.h.
cmsHPROFILE KoColorProfile::m_profile [private] |
Définition à la ligne 136 du fichier KoColorProfile.h.
Référencé par init(), KoColorProfile(), load(), operator==(), profile(), et ~KoColorProfile().
icColorSpaceSignature KoColorProfile::m_colorSpaceSignature [private] |
icProfileClassSignature KoColorProfile::m_deviceClass [private] |
QString KoColorProfile::m_productName [private] |
QString KoColorProfile::m_productDescription [private] |
QString KoColorProfile::m_productInfo [private] |
QString KoColorProfile::m_manufacturer [private] |
Définition à la ligne 142 du fichier KoColorProfile.h.
QByteArray KoColorProfile::m_rawData [private] |
Définition à la ligne 144 du fichier KoColorProfile.h.
Référencé par KoColorProfile(), load(), et profile().
QString KoColorProfile::m_filename [private] |
bool KoColorProfile::m_valid [private] |
bool KoColorProfile::m_suitableForOutput [private] |