Krita Source Code Documentation
Loading...
Searching...
No Matches
kis_shape_tool_helper.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2009 Sven Langkamp <sven.langkamp@gmail.com>
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 */
6#ifndef KIS_SHAPE_TOOL_HELPER_H
7#define KIS_SHAPE_TOOL_HELPER_H
8
9#include <kritaui_export.h>
10
11#include <QRectF>
12
13class KoShape;
14
18class KRITAUI_EXPORT KisShapeToolHelper
19{
20public:
21 static KoShape* createRectangleShape(const QRectF& rect, qreal roundCornersX, qreal roundCornersY);
22
23 static KoShape* createEllipseShape(const QRectF& rect);
24
25
26};
27
28
29#endif