kis_painter_test.h 1.54 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
/*
 *  Copyright (c) 2007 Sven Langkamp <sven.langkamp@gmail.com>
 *
 *  This program is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; either version 2 of the License, or
 *  (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program; if not, write to the Free Software
 *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 */

#ifndef KIS_SELETION_BLTMASK_TEST_H
#define KIS_SELETION_BLTMASK_TEST_H

#include <QtTest/QtTest>

24 25
class KoColorSpace;

26
class KisPainterTest : public QObject
27 28 29
{
    Q_OBJECT

30
private:
31
    void allCsApplicator(void (KisPainterTest::* funcPtr)( KoColorSpace*cs ) );
32
    void testPaintDeviceBltMask( KoColorSpace * cs );
33
    void testPaintDeviceBltMaskIrregular( KoColorSpace * cs );
34
    void testPaintDeviceBltMaskInverted( KoColorSpace * cs );
35 36 37



38 39
private slots:

40 41
    void testPaintDeviceBltMask(); // Square selection
    void testPaintDeviceBltMaskIrregular(); // Irregular selection
42
    void testPaintDeviceBltMaskInverted(); // Inverted selection
43 44
    void testSelectionBltMask(); // Square selection
    void testSelectionBltMaskIrregular(); // Irregular selection
45 46 47 48 49

};

#endif