Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.
C++
/*
* SPDX-FileCopyrightText: 2007 Sven Langkamp <[email protected]>
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef KIS_PAINTER_TEST_H
#define KIS_PAINTER_TEST_H
#include <simpletest.h>
class KoColorSpace;
class KisPainterTest : public QObject
{
Q_OBJECT
private:
void allCsApplicator(void (KisPainterTest::* funcPtr)(const KoColorSpace*cs));
void testSimpleBlt(const KoColorSpace * cs);
void testPaintDeviceBltSelection(const KoColorSpace * cs);
void testPaintDeviceBltSelectionIrregular(const KoColorSpace * cs);
void testPaintDeviceBltSelectionInverted(const KoColorSpace * cs);
void checkPerformance();
private Q_SLOTS:
void testSimpleBlt();
void testSelectionBltSelectionIrregular(); // Irregular selection
void testPaintDeviceBltSelectionInverted(); // Inverted selection
void testPaintDeviceBltSelectionIrregular(); // Irregular selection
void testPaintDeviceBltSelection(); // Square selection
void testSelectionBltSelection(); // Square selection
void testSimpleAlphaCopy();
void testSelectionBitBltFixedSelection();
void testSelectionBitBltEraseCompositeOp();
void testBitBltOldData();
void testMassiveBltFixedSingleTile();
void testMassiveBltFixedMultiTile();
void testMassiveBltFixedMultiTileWithOpacity();
void testMassiveBltFixedMultiTileWithSelection();
void testMassiveBltFixedCornerCases();
void testOptimizedCopying();
};
#endif