Commit 67209c3c authored by Laurent Montel's avatar Laurent Montel 😁

Adapt to kdelibs api

(for kpresenter/karbon/kivio it's not a portage
just change to kdelibs api (need for the future))

svn path=/trunk/koffice/; revision=523044
parent b9f6596f
......@@ -59,7 +59,7 @@ Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
#16 0xb767ee92 in QSignal::signal () from /usr/lib/libqt-mt.so.3
#17 0xb733d344 in QSignal::activate () from /usr/lib/libqt-mt.so.3
#18 0xb7442963 in QPopupMenu::mouseReleaseEvent () from /usr/lib/libqt-mt.so.3
#19 0xb6d92d60 in KPopupMenu::mouseReleaseEvent () from /usr/lib/libkdeui.so.4
#19 0xb6d92d60 in KMenu::mouseReleaseEvent () from /usr/lib/libkdeui.so.4
#20 0xb735a356 in QWidget::event () from /usr/lib/libqt-mt.so.3
#21 0xb72b6f80 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#22 0xb72b7500 in QApplication::notify () from /usr/lib/libqt-mt.so.3
......
......@@ -31,11 +31,11 @@ class KRITATOOL_EXPORT KisCmykU16ColorSpace : public KisU16BaseColorSpace {
public:
struct Pixel {
Q_UINT16 cyan;
Q_UINT16 magenta;
Q_UINT16 yellow;
Q_UINT16 black;
Q_UINT16 alpha;
quint16 cyan;
quint16 magenta;
quint16 yellow;
quint16 black;
quint16 alpha;
};
public:
......@@ -53,50 +53,50 @@ public:
public:
virtual Q3ValueVector<KisChannelInfo *> channels() const;
virtual Q_UINT32 nChannels() const;
virtual Q_UINT32 nColorChannels() const;
virtual Q_UINT32 pixelSize() const;
virtual quint32 nChannels() const;
virtual quint32 nColorChannels() const;
virtual quint32 pixelSize() const;
virtual void applyAdjustment(const Q_UINT8 *src, Q_UINT8 *dst, KisColorAdjustment *adj, Q_INT32 nPixels);
virtual void mixColors(const Q_UINT8 **colors, const Q_UINT8 *weights, Q_UINT32 nColors, Q_UINT8 *dst) const;
virtual void invertColor(Q_UINT8 * src, Q_INT32 nPixels);
virtual void convolveColors(Q_UINT8** colors, Q_INT32 * kernelValues, KisChannelInfo::enumChannelFlags channelFlags, Q_UINT8 *dst, Q_INT32 factor, Q_INT32 offset, Q_INT32 nColors) const;
virtual void getSingleChannelPixel(Q_UINT8 *dstPixel, const Q_UINT8 *srcPixel, Q_UINT32 channelIndex);
virtual void applyAdjustment(const quint8 *src, quint8 *dst, KisColorAdjustment *adj, qint32 nPixels);
virtual void mixColors(const quint8 **colors, const quint8 *weights, quint32 nColors, quint8 *dst) const;
virtual void invertColor(quint8 * src, qint32 nPixels);
virtual void convolveColors(quint8** colors, qint32 * kernelValues, KisChannelInfo::enumChannelFlags channelFlags, quint8 *dst, qint32 factor, qint32 offset, qint32 nColors) const;
virtual void getSingleChannelPixel(quint8 *dstPixel, const quint8 *srcPixel, quint32 channelIndex);
virtual KisCompositeOpList userVisiblecompositeOps() const;
protected:
virtual void bitBlt(Q_UINT8 *dst,
Q_INT32 dstRowStride,
const Q_UINT8 *src,
Q_INT32 srcRowStride,
const Q_UINT8 *srcAlphaMask,
Q_INT32 maskRowStride,
Q_UINT8 opacity,
Q_INT32 rows,
Q_INT32 cols,
virtual void bitBlt(quint8 *dst,
qint32 dstRowStride,
const quint8 *src,
qint32 srcRowStride,
const quint8 *srcAlphaMask,
qint32 maskRowStride,
quint8 opacity,
qint32 rows,
qint32 cols,
const KisCompositeOp& op);
void compositeOver(Q_UINT8 *dst, Q_INT32 dstRowStride, const Q_UINT8 *src, Q_INT32 srcRowStride, const Q_UINT8 *mask, Q_INT32 maskRowStride, Q_INT32 rows, Q_INT32 columns, Q_UINT16 opacity);
void compositeMultiply(Q_UINT8 *dst, Q_INT32 dstRowStride, const Q_UINT8 *src, Q_INT32 srcRowStride, const Q_UINT8 *mask, Q_INT32 maskRowStride, Q_INT32 rows, Q_INT32 columns, Q_UINT16 opacity);
void compositeDivide(Q_UINT8 *dst, Q_INT32 dstRowStride, const Q_UINT8 *src, Q_INT32 srcRowStride, const Q_UINT8 *mask, Q_INT32 maskRowStride, Q_INT32 rows, Q_INT32 columns, Q_UINT16 opacity);
void compositeScreen(Q_UINT8 *dst, Q_INT32 dstRowStride, const Q_UINT8 *src, Q_INT32 srcRowStride, const Q_UINT8 *mask, Q_INT32 maskRowStride, Q_INT32 rows, Q_INT32 columns, Q_UINT16 opacity);
void compositeOverlay(Q_UINT8 *dst, Q_INT32 dstRowStride, const Q_UINT8 *src, Q_INT32 srcRowStride, const Q_UINT8 *mask, Q_INT32 maskRowStride, Q_INT32 rows, Q_INT32 columns, Q_UINT16 opacity);
void compositeDodge(Q_UINT8 *dst, Q_INT32 dstRowStride, const Q_UINT8 *src, Q_INT32 srcRowStride, const Q_UINT8 *mask, Q_INT32 maskRowStride, Q_INT32 rows, Q_INT32 columns, Q_UINT16 opacity);
void compositeBurn(Q_UINT8 *dst, Q_INT32 dstRowStride, const Q_UINT8 *src, Q_INT32 srcRowStride, const Q_UINT8 *mask, Q_INT32 maskRowStride, Q_INT32 rows, Q_INT32 columns, Q_UINT16 opacity);
void compositeDarken(Q_UINT8 *dst, Q_INT32 dstRowStride, const Q_UINT8 *src, Q_INT32 srcRowStride, const Q_UINT8 *mask, Q_INT32 maskRowStride, Q_INT32 rows, Q_INT32 columns, Q_UINT16 opacity);
void compositeLighten(Q_UINT8 *dst, Q_INT32 dstRowStride, const Q_UINT8 *src, Q_INT32 srcRowStride, const Q_UINT8 *mask, Q_INT32 maskRowStride, Q_INT32 rows, Q_INT32 columns, Q_UINT16 opacity);
void compositeErase(Q_UINT8 *dst, Q_INT32 dstRowStride, const Q_UINT8 *src, Q_INT32 srcRowStride, const Q_UINT8 *mask, Q_INT32 maskRowStride, Q_INT32 rows, Q_INT32 columns, Q_UINT16 opacity);
void compositeOver(quint8 *dst, qint32 dstRowStride, const quint8 *src, qint32 srcRowStride, const quint8 *mask, qint32 maskRowStride, qint32 rows, qint32 columns, quint16 opacity);
void compositeMultiply(quint8 *dst, qint32 dstRowStride, const quint8 *src, qint32 srcRowStride, const quint8 *mask, qint32 maskRowStride, qint32 rows, qint32 columns, quint16 opacity);
void compositeDivide(quint8 *dst, qint32 dstRowStride, const quint8 *src, qint32 srcRowStride, const quint8 *mask, qint32 maskRowStride, qint32 rows, qint32 columns, quint16 opacity);
void compositeScreen(quint8 *dst, qint32 dstRowStride, const quint8 *src, qint32 srcRowStride, const quint8 *mask, qint32 maskRowStride, qint32 rows, qint32 columns, quint16 opacity);
void compositeOverlay(quint8 *dst, qint32 dstRowStride, const quint8 *src, qint32 srcRowStride, const quint8 *mask, qint32 maskRowStride, qint32 rows, qint32 columns, quint16 opacity);
void compositeDodge(quint8 *dst, qint32 dstRowStride, const quint8 *src, qint32 srcRowStride, const quint8 *mask, qint32 maskRowStride, qint32 rows, qint32 columns, quint16 opacity);
void compositeBurn(quint8 *dst, qint32 dstRowStride, const quint8 *src, qint32 srcRowStride, const quint8 *mask, qint32 maskRowStride, qint32 rows, qint32 columns, quint16 opacity);
void compositeDarken(quint8 *dst, qint32 dstRowStride, const quint8 *src, qint32 srcRowStride, const quint8 *mask, qint32 maskRowStride, qint32 rows, qint32 columns, quint16 opacity);
void compositeLighten(quint8 *dst, qint32 dstRowStride, const quint8 *src, qint32 srcRowStride, const quint8 *mask, qint32 maskRowStride, qint32 rows, qint32 columns, quint16 opacity);
void compositeErase(quint8 *dst, qint32 dstRowStride, const quint8 *src, qint32 srcRowStride, const quint8 *mask, qint32 maskRowStride, qint32 rows, qint32 columns, quint16 opacity);
private:
friend class KisCmykU16ColorSpaceTester;
static const Q_UINT8 PIXEL_CYAN = 0;
static const Q_UINT8 PIXEL_MAGENTA = 1;
static const Q_UINT8 PIXEL_YELLOW = 2;
static const Q_UINT8 PIXEL_BLACK = 3;
static const Q_UINT8 PIXEL_ALPHA = 4;
static const quint8 PIXEL_CYAN = 0;
static const quint8 PIXEL_MAGENTA = 1;
static const quint8 PIXEL_YELLOW = 2;
static const quint8 PIXEL_BLACK = 3;
static const quint8 PIXEL_ALPHA = 4;
};
class KisCmykU16ColorSpaceFactory : public KisColorSpaceFactory
......@@ -111,7 +111,7 @@ public:
/**
* lcms colorspace type definition.
*/
virtual Q_UINT32 colorSpaceType() { return TYPE_CMYK5_16; };
virtual quint32 colorSpaceType() { return TYPE_CMYK5_16; };
virtual icColorSpaceSignature colorSpaceSignature() { return icSigCmykData; };
......
......@@ -19,55 +19,55 @@
#ifndef COMPOSITE_CMYK
#define COMPOSITE_CMYK
void compositeCopyCyan(Q_INT32 stride,
Q_UINT8 *dst,
Q_INT32 dststride,
Q_UINT8 *src,
Q_INT32 srcstride,
Q_INT32 rows,
Q_INT32 cols,
Q_UINT8 opacity = OPACITY_OPAQUE)
void compositeCopyCyan(qint32 stride,
quint8 *dst,
qint32 dststride,
quint8 *src,
qint32 srcstride,
qint32 rows,
qint32 cols,
quint8 opacity = OPACITY_OPAQUE)
{
compositeCopyChannel(PIXEL_CYAN, stride, dst, dststride, src, srcstride, rows, cols, opacity);
}
void compositeCopyMagenta(Q_INT32 stride,
Q_UINT8 *dst,
Q_INT32 dststride,
Q_UINT8 *src,
Q_INT32 srcstride,
Q_INT32 rows,
Q_INT32 cols,
Q_UINT8 opacity = OPACITY_OPAQUE)
void compositeCopyMagenta(qint32 stride,
quint8 *dst,
qint32 dststride,
quint8 *src,
qint32 srcstride,
qint32 rows,
qint32 cols,
quint8 opacity = OPACITY_OPAQUE)
{
compositeCopyChannel(PIXEL_MAGENTA, stride, dst, dststride, src, srcstride, rows, cols, opacity);
}
void compositeCopyYellow(Q_INT32 stride,
Q_UINT8 *dst,
Q_INT32 dststride,
Q_UINT8 *src,
Q_INT32 srcstride,
Q_INT32 rows,
Q_INT32 cols,
Q_UINT8 opacity = OPACITY_OPAQUE)
void compositeCopyYellow(qint32 stride,
quint8 *dst,
qint32 dststride,
quint8 *src,
qint32 srcstride,
qint32 rows,
qint32 cols,
quint8 opacity = OPACITY_OPAQUE)
{
compositeCopyChannel(PIXEL_YELLOW, stride, dst, dststride, src, srcstride, rows, cols, opacity);
}
void compositeCopyBlack(Q_INT32 stride,
Q_UINT8 *dst,
Q_INT32 dststride,
Q_UINT8 *src,
Q_INT32 srcstride,
Q_INT32 rows,
Q_INT32 cols,
Q_UINT8 opacity = OPACITY_OPAQUE)
void compositeCopyBlack(qint32 stride,
quint8 *dst,
qint32 dststride,
quint8 *src,
qint32 srcstride,
qint32 rows,
qint32 cols,
quint8 opacity = OPACITY_OPAQUE)
{
compositeCopyChannel(PIXEL_BLACK, stride, dst, dststride, src, srcstride, rows, cols, opacity);
}
......
......@@ -30,11 +30,11 @@ public:
struct Pixel {
Q_UINT16 cyan;
Q_UINT16 magenta;
Q_UINT16 yellow;
Q_UINT16 black;
Q_UINT16 alpha;
quint16 cyan;
quint16 magenta;
quint16 yellow;
quint16 black;
quint16 alpha;
};
public:
KisCmykColorSpace(KisColorSpaceFactoryRegistry * parent, KisProfile *p);
......@@ -53,53 +53,53 @@ public:
public:
virtual void mixColors(const Q_UINT8 **colors, const Q_UINT8 *weights, Q_UINT32 nColors, Q_UINT8 *dst) const;
virtual void applyAdjustment(const Q_UINT8 *src, Q_UINT8 *dst, KisColorAdjustment *adj, Q_INT32 nPixels);
virtual void invertColor(Q_UINT8 * src, Q_INT32 nPixels);
virtual void convolveColors(Q_UINT8** colors, Q_INT32 * kernelValues, KisChannelInfo::enumChannelFlags channelFlags, Q_UINT8 *dst, Q_INT32 factor, Q_INT32 offset, Q_INT32 nColors) const;
virtual void mixColors(const quint8 **colors, const quint8 *weights, quint32 nColors, quint8 *dst) const;
virtual void applyAdjustment(const quint8 *src, quint8 *dst, KisColorAdjustment *adj, qint32 nPixels);
virtual void invertColor(quint8 * src, qint32 nPixels);
virtual void convolveColors(quint8** colors, qint32 * kernelValues, KisChannelInfo::enumChannelFlags channelFlags, quint8 *dst, qint32 factor, qint32 offset, qint32 nColors) const;
// XXX: darken & intensity8?
virtual Q3ValueVector<KisChannelInfo *> channels() const;
virtual Q_UINT32 nChannels() const;
virtual Q_UINT32 nColorChannels() const;
virtual Q_UINT32 pixelSize() const;
virtual void getSingleChannelPixel(Q_UINT8 *dstPixel, const Q_UINT8 *srcPixel, Q_UINT32 channelIndex);
virtual quint32 nChannels() const;
virtual quint32 nColorChannels() const;
virtual quint32 pixelSize() const;
virtual void getSingleChannelPixel(quint8 *dstPixel, const quint8 *srcPixel, quint32 channelIndex);
virtual KisCompositeOpList userVisiblecompositeOps() const;
protected:
virtual void bitBlt(Q_UINT8 *dst,
Q_INT32 dstRowStride,
const Q_UINT8 *src,
Q_INT32 srcRowStride,
const Q_UINT8 *srcAlphaMask,
Q_INT32 maskRowStride,
Q_UINT8 opacity,
Q_INT32 rows,
Q_INT32 cols,
virtual void bitBlt(quint8 *dst,
qint32 dstRowStride,
const quint8 *src,
qint32 srcRowStride,
const quint8 *srcAlphaMask,
qint32 maskRowStride,
quint8 opacity,
qint32 rows,
qint32 cols,
const KisCompositeOp& op);
void compositeOver(Q_UINT8 *dst, Q_INT32 dstRowStride, const Q_UINT8 *src, Q_INT32 srcRowStride, const Q_UINT8 *mask, Q_INT32 maskRowStride, Q_INT32 rows, Q_INT32 columns, Q_UINT8 opacity);
void compositeMultiply(Q_UINT8 *dst, Q_INT32 dstRowStride, const Q_UINT8 *src, Q_INT32 srcRowStride, const Q_UINT8 *mask, Q_INT32 maskRowStride, Q_INT32 rows, Q_INT32 columns, Q_UINT8 opacity);
void compositeDivide(Q_UINT8 *dst, Q_INT32 dstRowStride, const Q_UINT8 *src, Q_INT32 srcRowStride, const Q_UINT8 *mask, Q_INT32 maskRowStride, Q_INT32 rows, Q_INT32 columns, Q_UINT8 opacity);
void compositeScreen(Q_UINT8 *dst, Q_INT32 dstRowStride, const Q_UINT8 *src, Q_INT32 srcRowStride, const Q_UINT8 *mask, Q_INT32 maskRowStride, Q_INT32 rows, Q_INT32 columns, Q_UINT8 opacity);
void compositeOverlay(Q_UINT8 *dst, Q_INT32 dstRowStride, const Q_UINT8 *src, Q_INT32 srcRowStride, const Q_UINT8 *mask, Q_INT32 maskRowStride, Q_INT32 rows, Q_INT32 columns, Q_UINT8 opacity);
void compositeDodge(Q_UINT8 *dst, Q_INT32 dstRowStride, const Q_UINT8 *src, Q_INT32 srcRowStride, const Q_UINT8 *mask, Q_INT32 maskRowStride, Q_INT32 rows, Q_INT32 columns, Q_UINT8 opacity);
void compositeBurn(Q_UINT8 *dst, Q_INT32 dstRowStride, const Q_UINT8 *src, Q_INT32 srcRowStride, const Q_UINT8 *mask, Q_INT32 maskRowStride, Q_INT32 rows, Q_INT32 columns, Q_UINT8 opacity);
void compositeDarken(Q_UINT8 *dst, Q_INT32 dstRowStride, const Q_UINT8 *src, Q_INT32 srcRowStride, const Q_UINT8 *mask, Q_INT32 maskRowStride, Q_INT32 rows, Q_INT32 columns, Q_UINT8 opacity);
void compositeLighten(Q_UINT8 *dst, Q_INT32 dstRowStride, const Q_UINT8 *src, Q_INT32 srcRowStride, const Q_UINT8 *mask, Q_INT32 maskRowStride, Q_INT32 rows, Q_INT32 columns, Q_UINT8 opacity);
void compositeErase(Q_UINT8 *dst, Q_INT32 dstRowStride, const Q_UINT8 *src, Q_INT32 srcRowStride, const Q_UINT8 *mask, Q_INT32 maskRowStride, Q_INT32 rows, Q_INT32 columns, Q_UINT8 opacity);
void compositeOver(quint8 *dst, qint32 dstRowStride, const quint8 *src, qint32 srcRowStride, const quint8 *mask, qint32 maskRowStride, qint32 rows, qint32 columns, quint8 opacity);
void compositeMultiply(quint8 *dst, qint32 dstRowStride, const quint8 *src, qint32 srcRowStride, const quint8 *mask, qint32 maskRowStride, qint32 rows, qint32 columns, quint8 opacity);
void compositeDivide(quint8 *dst, qint32 dstRowStride, const quint8 *src, qint32 srcRowStride, const quint8 *mask, qint32 maskRowStride, qint32 rows, qint32 columns, quint8 opacity);
void compositeScreen(quint8 *dst, qint32 dstRowStride, const quint8 *src, qint32 srcRowStride, const quint8 *mask, qint32 maskRowStride, qint32 rows, qint32 columns, quint8 opacity);
void compositeOverlay(quint8 *dst, qint32 dstRowStride, const quint8 *src, qint32 srcRowStride, const quint8 *mask, qint32 maskRowStride, qint32 rows, qint32 columns, quint8 opacity);
void compositeDodge(quint8 *dst, qint32 dstRowStride, const quint8 *src, qint32 srcRowStride, const quint8 *mask, qint32 maskRowStride, qint32 rows, qint32 columns, quint8 opacity);
void compositeBurn(quint8 *dst, qint32 dstRowStride, const quint8 *src, qint32 srcRowStride, const quint8 *mask, qint32 maskRowStride, qint32 rows, qint32 columns, quint8 opacity);
void compositeDarken(quint8 *dst, qint32 dstRowStride, const quint8 *src, qint32 srcRowStride, const quint8 *mask, qint32 maskRowStride, qint32 rows, qint32 columns, quint8 opacity);
void compositeLighten(quint8 *dst, qint32 dstRowStride, const quint8 *src, qint32 srcRowStride, const quint8 *mask, qint32 maskRowStride, qint32 rows, qint32 columns, quint8 opacity);
void compositeErase(quint8 *dst, qint32 dstRowStride, const quint8 *src, qint32 srcRowStride, const quint8 *mask, qint32 maskRowStride, qint32 rows, qint32 columns, quint8 opacity);
private:
Q_UINT8 * m_qcolordata;
quint8 * m_qcolordata;
static const Q_UINT8 PIXEL_CYAN = 0;
static const Q_UINT8 PIXEL_MAGENTA = 1;
static const Q_UINT8 PIXEL_YELLOW = 2;
static const Q_UINT8 PIXEL_BLACK = 3;
static const Q_UINT8 PIXEL_CMYK_ALPHA = 4;
static const quint8 PIXEL_CYAN = 0;
static const quint8 PIXEL_MAGENTA = 1;
static const quint8 PIXEL_YELLOW = 2;
static const quint8 PIXEL_BLACK = 3;
static const quint8 PIXEL_CMYK_ALPHA = 4;
};
class KisCmykColorSpaceFactory : public KisColorSpaceFactory
......@@ -114,7 +114,7 @@ public:
/**
* lcms colorspace type definition.
*/
virtual Q_UINT32 colorSpaceType() { return TYPE_CMYK5_8; };
virtual quint32 colorSpaceType() { return TYPE_CMYK5_8; };
virtual icColorSpaceSignature colorSpaceSignature() { return icSigCmykData; };
......
......@@ -32,8 +32,8 @@ class KRITATOOL_EXPORT KisGrayU16ColorSpace : public KisU16BaseColorSpace {
public:
struct Pixel {
Q_UINT16 gray;
Q_UINT16 alpha;
quint16 gray;
quint16 alpha;
};
virtual bool willDegrade(ColorSpaceIndependence independence)
......@@ -50,48 +50,48 @@ public:
virtual ~KisGrayU16ColorSpace();
public:
virtual void mixColors(const Q_UINT8 **colors, const Q_UINT8 *weights, Q_UINT32 nColors, Q_UINT8 *dst) const;
virtual void invertColor(Q_UINT8 * src, Q_INT32 nPixels);
virtual void convolveColors(Q_UINT8** colors, Q_INT32 * kernelValues, KisChannelInfo::enumChannelFlags channelFlags, Q_UINT8 *dst, Q_INT32 factor, Q_INT32 offset, Q_INT32 nColors) const;
virtual Q_UINT8 intensity8(const Q_UINT8 * src) const;
virtual void mixColors(const quint8 **colors, const quint8 *weights, quint32 nColors, quint8 *dst) const;
virtual void invertColor(quint8 * src, qint32 nPixels);
virtual void convolveColors(quint8** colors, qint32 * kernelValues, KisChannelInfo::enumChannelFlags channelFlags, quint8 *dst, qint32 factor, qint32 offset, qint32 nColors) const;
virtual quint8 intensity8(const quint8 * src) const;
virtual Q3ValueVector<KisChannelInfo *> channels() const;
virtual Q_UINT32 nChannels() const;
virtual Q_UINT32 nColorChannels() const;
virtual Q_UINT32 pixelSize() const;
virtual quint32 nChannels() const;
virtual quint32 nColorChannels() const;
virtual quint32 pixelSize() const;
virtual KisCompositeOpList userVisiblecompositeOps() const;
protected:
virtual void bitBlt(Q_UINT8 *dst,
Q_INT32 dstRowStride,
const Q_UINT8 *src,
Q_INT32 srcRowStride,
const Q_UINT8 *srcAlphaMask,
Q_INT32 maskRowStride,
Q_UINT8 opacity,
Q_INT32 rows,
Q_INT32 cols,
virtual void bitBlt(quint8 *dst,
qint32 dstRowStride,
const quint8 *src,
qint32 srcRowStride,
const quint8 *srcAlphaMask,
qint32 maskRowStride,
quint8 opacity,
qint32 rows,
qint32 cols,
const KisCompositeOp& op);
void compositeOver(Q_UINT8 *dst, Q_INT32 dstRowStride, const Q_UINT8 *src, Q_INT32 srcRowStride, const Q_UINT8 *mask, Q_INT32 maskRowStride, Q_INT32 rows, Q_INT32 columns, Q_UINT16 opacity);
void compositeMultiply(Q_UINT8 *dst, Q_INT32 dstRowStride, const Q_UINT8 *src, Q_INT32 srcRowStride, const Q_UINT8 *mask, Q_INT32 maskRowStride, Q_INT32 rows, Q_INT32 columns, Q_UINT16 opacity);
void compositeDivide(Q_UINT8 *dst, Q_INT32 dstRowStride, const Q_UINT8 *src, Q_INT32 srcRowStride, const Q_UINT8 *mask, Q_INT32 maskRowStride, Q_INT32 rows, Q_INT32 columns, Q_UINT16 opacity);
void compositeScreen(Q_UINT8 *dst, Q_INT32 dstRowStride, const Q_UINT8 *src, Q_INT32 srcRowStride, const Q_UINT8 *mask, Q_INT32 maskRowStride, Q_INT32 rows, Q_INT32 columns, Q_UINT16 opacity);
void compositeOverlay(Q_UINT8 *dst, Q_INT32 dstRowStride, const Q_UINT8 *src, Q_INT32 srcRowStride, const Q_UINT8 *mask, Q_INT32 maskRowStride, Q_INT32 rows, Q_INT32 columns, Q_UINT16 opacity);
void compositeDodge(Q_UINT8 *dst, Q_INT32 dstRowStride, const Q_UINT8 *src, Q_INT32 srcRowStride, const Q_UINT8 *mask, Q_INT32 maskRowStride, Q_INT32 rows, Q_INT32 columns, Q_UINT16 opacity);
void compositeBurn(Q_UINT8 *dst, Q_INT32 dstRowStride, const Q_UINT8 *src, Q_INT32 srcRowStride, const Q_UINT8 *mask, Q_INT32 maskRowStride, Q_INT32 rows, Q_INT32 columns, Q_UINT16 opacity);
void compositeDarken(Q_UINT8 *dst, Q_INT32 dstRowStride, const Q_UINT8 *src, Q_INT32 srcRowStride, const Q_UINT8 *mask, Q_INT32 maskRowStride, Q_INT32 rows, Q_INT32 columns, Q_UINT16 opacity);
void compositeLighten(Q_UINT8 *dst, Q_INT32 dstRowStride, const Q_UINT8 *src, Q_INT32 srcRowStride, const Q_UINT8 *mask, Q_INT32 maskRowStride, Q_INT32 rows, Q_INT32 columns, Q_UINT16 opacity);
void compositeErase(Q_UINT8 *dst, Q_INT32 dstRowStride, const Q_UINT8 *src, Q_INT32 srcRowStride, const Q_UINT8 *mask, Q_INT32 maskRowStride, Q_INT32 rows, Q_INT32 columns, Q_UINT16 opacity);
void compositeOver(quint8 *dst, qint32 dstRowStride, const quint8 *src, qint32 srcRowStride, const quint8 *mask, qint32 maskRowStride, qint32 rows, qint32 columns, quint16 opacity);
void compositeMultiply(quint8 *dst, qint32 dstRowStride, const quint8 *src, qint32 srcRowStride, const quint8 *mask, qint32 maskRowStride, qint32 rows, qint32 columns, quint16 opacity);
void compositeDivide(quint8 *dst, qint32 dstRowStride, const quint8 *src, qint32 srcRowStride, const quint8 *mask, qint32 maskRowStride, qint32 rows, qint32 columns, quint16 opacity);
void compositeScreen(quint8 *dst, qint32 dstRowStride, const quint8 *src, qint32 srcRowStride, const quint8 *mask, qint32 maskRowStride, qint32 rows, qint32 columns, quint16 opacity);
void compositeOverlay(quint8 *dst, qint32 dstRowStride, const quint8 *src, qint32 srcRowStride, const quint8 *mask, qint32 maskRowStride, qint32 rows, qint32 columns, quint16 opacity);
void compositeDodge(quint8 *dst, qint32 dstRowStride, const quint8 *src, qint32 srcRowStride, const quint8 *mask, qint32 maskRowStride, qint32 rows, qint32 columns, quint16 opacity);
void compositeBurn(quint8 *dst, qint32 dstRowStride, const quint8 *src, qint32 srcRowStride, const quint8 *mask, qint32 maskRowStride, qint32 rows, qint32 columns, quint16 opacity);
void compositeDarken(quint8 *dst, qint32 dstRowStride, const quint8 *src, qint32 srcRowStride, const quint8 *mask, qint32 maskRowStride, qint32 rows, qint32 columns, quint16 opacity);
void compositeLighten(quint8 *dst, qint32 dstRowStride, const quint8 *src, qint32 srcRowStride, const quint8 *mask, qint32 maskRowStride, qint32 rows, qint32 columns, quint16 opacity);