Référence de la classe KoColorProfile

#include <KoColorProfile.h>

Liste de tous les membres

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 KoColorProfilegetScreenProfile (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 &)


Description détaillée

This class contains an ICC color profile.

Définition à la ligne 39 du fichier KoColorProfile.h.


Documentation des contructeurs et destructeur

KoColorProfile::KoColorProfile ( QByteArray  rawData  ) 

Initialize the profile using the raw data. Use it after reading the profile data inside an image file.

Paramètres:
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.

Paramètres:
file filename of the profile

Définition à la ligne 56 du fichier KoColorProfile.cpp.

KoColorProfile::KoColorProfile ( const cmsHPROFILE  profile  ) 

Initialize the profile from the LCMS color profile

Définition à la ligne 63 du fichier KoColorProfile.cpp.

Références init(), Py::int, m_profile, et m_rawData.

Voici le graphe d'appel pour cette fonction :

KoColorProfile::~KoColorProfile (  )  [virtual]

Définition à la ligne 86 du fichier KoColorProfile.cpp.

Références m_profile.


Documentation des fonctions membres

bool KoColorProfile::load (  )  [virtual]

Load the profile in memory.

Renvoie:
true if the profile has been successfully loaded

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.

Renvoie:
always return false

Définition à la ligne 158 du fichier KoColorProfile.cpp.

icColorSpaceSignature KoColorProfile::colorSpaceSignature (  )  const [inline]

Renvoie:
the ICC color space signature

Définition à la ligne 75 du fichier KoColorProfile.h.

icProfileClassSignature KoColorProfile::deviceClass (  )  const [inline]

Renvoie:
the class of the color space signature

Définition à la ligne 79 du fichier KoColorProfile.h.

QString KoColorProfile::productName (  )  const [inline]

Renvoie:
the name of the profile

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]

Renvoie:
the description of the profile

Définition à la ligne 87 du fichier KoColorProfile.h.

QString KoColorProfile::productInfo (  )  const [inline]

Renvoie:
some information about the profile

Définition à la ligne 91 du fichier KoColorProfile.h.

QString KoColorProfile::manufacturer (  )  const [inline]

Renvoie:
the name of the manufacturer

Définition à la ligne 95 du fichier KoColorProfile.h.

cmsHPROFILE KoColorProfile::profile (  ) 

Renvoie:
the structure to use with LCMS functions

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]

Renvoie:
true if the profile is valid, false if it isn't been loaded in memory yet, or if the loaded memory is a bad profile

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]

Renvoie:
true if you can use this profile can be used to convert color from a different profile to this one

Définition à la ligne 114 du fichier KoColorProfile.h.

QString KoColorProfile::filename (  )  const [inline]

Renvoie:
the filename of the profile (it's an empty string if it was initialized from a memory pointer or from a LCMS structure)

Définition à la ligne 120 du fichier KoColorProfile.h.

QByteArray KoColorProfile::rawData (  )  const [inline]

Renvoie:
an array with the raw data of the profile

Définition à la ligne 125 du fichier KoColorProfile.h.

KoColorProfile * KoColorProfile::getScreenProfile ( int  screen = -1  )  [static]

Renvoie:
the color profile of the screen

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 :


Documentation des fonctions amies et associées

bool operator== ( const KoColorProfile p1,
const KoColorProfile p2 
) [friend]

Définition à la ligne 152 du fichier KoColorProfile.h.


Documentation des données membres

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]

Définition à la ligne 137 du fichier KoColorProfile.h.

Référencé par init().

icProfileClassSignature KoColorProfile::m_deviceClass [private]

Définition à la ligne 138 du fichier KoColorProfile.h.

Référencé par init().

QString KoColorProfile::m_productName [private]

Définition à la ligne 139 du fichier KoColorProfile.h.

Référencé par init().

QString KoColorProfile::m_productDescription [private]

Définition à la ligne 140 du fichier KoColorProfile.h.

Référencé par init().

QString KoColorProfile::m_productInfo [private]

Définition à la ligne 141 du fichier KoColorProfile.h.

Référencé par init().

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]

Définition à la ligne 146 du fichier KoColorProfile.h.

Référencé par load(), et profile().

bool KoColorProfile::m_valid [private]

Définition à la ligne 147 du fichier KoColorProfile.h.

Référencé par init().

bool KoColorProfile::m_suitableForOutput [private]

Définition à la ligne 148 du fichier KoColorProfile.h.

Référencé par init().


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