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: 2022 Agata Cacko <[email protected]>
*
* SPDX-License-Identifier: GPL-3.0-or-later
*/
#ifndef __TEST_PERSPECTIVE_BASED_ASSISTANT_HELPER_H
#define __TEST_PERSPECTIVE_BASED_ASSISTANT_HELPER_H
#include <simpletest.h>
#include "empty_nodes_test.h"
#include "kis_painting_assistant.h"
class TestPerspectiveBasedAssistantHelper : public QObject
{
Q_OBJECT
private Q_SLOTS:
void testDistanceInGrid();
void testTwoPointAssistantLocalTransform_data();
void testTwoPointAssistantLocalTransform();
void testTwoPointAssistantPerspectiveGrid_data();
void testTwoPointAssistantPerspectiveGrid();
void testCurvilinearPerspectiveGrid();
private:
QList<KisPaintingAssistantHandleSP> getHandles(QList<QPointF> points);
};
#endif /* __TEST_PERSPECTIVE_BASED_ASSISTANT_HELPER_H */