1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
/*
* SPDX-FileCopyrightText: 2009 Sven Langkamp <sven.langkamp@gmail.com>
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef KIS_SHAPE_TOOL_HELPER_H
#define KIS_SHAPE_TOOL_HELPER_H
#include <kritaui_export.h>
#include <QRectF>
class KoShape;
/**
* KisShapeToolHelper provides shapes and fallback shapes for shape based tools
*/
class KRITAUI_EXPORT KisShapeToolHelper
{
public:
static KoShape* createRectangleShape(const QRectF& rect, qreal roundCornersX, qreal roundCornersY);
static KoShape* createEllipseShape(const QRectF& rect);
};
#endif
|