Référence de la classe KoCompositeOp

#include <KoCompositeOp.h>

Graphe d'héritage de KoCompositeOp:

[légende]
Graphe de collaboration de KoCompositeOp:
[légende]
Liste de tous les membres

Fonctions membres publiques

 KoCompositeOp (KoColorSpace *cs, const QString &id, const QString &description, const bool userVisible=true)
virtual ~KoCompositeOp ()
QString id () const
QString description () const
KoColorSpacecolorSpace () const
bool userVisible () const
virtual void composite (quint8 *dstRowStart, qint32 dstRowStride, const quint8 *srcRowStart, qint32 srcRowStride, const quint8 *maskRowStart, qint32 maskRowStride, qint32 rows, qint32 numColumns, quint8 opacity) const
virtual void composite (quint8 *dstRowStart, qint32 dstRowStride, const quint8 *srcRowStart, qint32 srcRowStride, const quint8 *maskRowStart, qint32 maskRowStride, qint32 rows, qint32 numColumns, quint8 opacity, const QBitArray &channelFlags) const =0

Fonctions membres protégées

 KoCompositeOp ()

Attributs protégés

KoColorSpacem_colorSpace
QString m_id
QString m_description
QBitArray m_defaultChannelFlags
bool m_userVisible

Description détaillée

Base for colorspace-specific blending modes.

Définition à la ligne 69 du fichier KoCompositeOp.h.


Documentation des contructeurs et destructeur

KoCompositeOp::KoCompositeOp ( KoColorSpace cs,
const QString &  id,
const QString &  description,
const bool  userVisible = true 
)

Définition à la ligne 31 du fichier KoCompositeOp.cpp.

virtual KoCompositeOp::~KoCompositeOp (  )  [inline, virtual]

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

KoCompositeOp::KoCompositeOp (  )  [protected]

Définition à la ligne 25 du fichier KoCompositeOp.cpp.


Documentation des fonctions membres

QString KoCompositeOp::id (  )  const [inline]

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

Référencé par KoColorSpace::addCompositeOp().

Voici le graphe d'appel pour cette fonction :

QString KoCompositeOp::description (  )  const [inline]

Définition à la ligne 76 du fichier KoCompositeOp.h.

KoColorSpace* KoCompositeOp::colorSpace (  )  const [inline]

Définition à la ligne 77 du fichier KoCompositeOp.h.

Référencé par KoColorSpace::addCompositeOp(), et KoCompositeOpOver< _CSTraits >::composite().

Voici le graphe d'appel pour cette fonction :

bool KoCompositeOp::userVisible (  )  const [inline]

Définition à la ligne 78 du fichier KoCompositeOp.h.

void KoCompositeOp::composite ( quint8 *  dstRowStart,
qint32  dstRowStride,
const quint8 *  srcRowStart,
qint32  srcRowStride,
const quint8 *  maskRowStart,
qint32  maskRowStride,
qint32  rows,
qint32  numColumns,
quint8  opacity 
) const [virtual]

Paramètres:
dstRowStart pointer to the start of the byte array we will composite the source on
dstRowStride length of the rows of the block of destination pixels in bytes
srcRowStart pointer to the start of the byte array we will mix with dest
srcRowStride length of the rows of the block of src in bytes pixels (may be different from the rowstride of the dst pixels, in which case the smaller value is used).
maskRowStart start of the byte mask that determines whether and if so, then how much of src is used for blending
maskRowStride length of the mask scanlines in bytes
rows number of scanlines to blend
numColumns length of the row of pixels in pixels
opacity transparency with which to blend

Définition à la ligne 39 du fichier KoCompositeOp.cpp.

Références m_colorSpace, m_defaultChannelFlags, et KoColorSpace::nChannels().

Référencé par KoColorSpace::bitBlt().

Voici le graphe d'appel pour cette fonction :

Voici le graphe d'appel pour cette fonction :

virtual void KoCompositeOp::composite ( quint8 *  dstRowStart,
qint32  dstRowStride,
const quint8 *  srcRowStart,
qint32  srcRowStride,
const quint8 *  maskRowStart,
qint32  maskRowStride,
qint32  rows,
qint32  numColumns,
quint8  opacity,
const QBitArray &  channelFlags 
) const [pure virtual]

Same as previous, but with a bit array that determines which channels (channels are in the order of the channels in the colorspace) should be excluded (false) or included (true) in the bitBlt.

For instance: if this is COMPOSITY_COPY composite(..., [1, 0]) for grayscale is the same as old COMPOSITE_COPY_GRAY -- only the gray channel is copied.

Implémenté dans KoCompositeOpErase< _CSTraits >, et KoCompositeOpOver< _CSTraits >.


Documentation des données membres

KoColorSpace* KoCompositeOp::m_colorSpace [protected]

Définition à la ligne 118 du fichier KoCompositeOp.h.

Référencé par composite().

QString KoCompositeOp::m_id [protected]

Définition à la ligne 119 du fichier KoCompositeOp.h.

QString KoCompositeOp::m_description [protected]

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

QBitArray KoCompositeOp::m_defaultChannelFlags [mutable, protected]

Définition à la ligne 121 du fichier KoCompositeOp.h.

Référencé par composite().

bool KoCompositeOp::m_userVisible [protected]

Définition à la ligne 122 du fichier KoCompositeOp.h.


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