Krita Source Code Documentation
Loading...
Searching...
No Matches
kis_liquify_paint_helper.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2014 Dmitry Kazakov <dimula73@gmail.com>
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 */
6
7#ifndef __KIS_LIQUIFY_PAINT_HELPER_H
8#define __KIS_LIQUIFY_PAINT_HELPER_H
9
10#include <QScopedPointer>
11
14class KoPointerEvent;
16class QPainterPath;
18
20{
21public:
24
25 void configurePaintOp(const KisLiquifyProperties &_props,
27
28 void startPaint(KoPointerEvent *event, const KoCanvasResourceProvider *manager);
29 void continuePaint(KoPointerEvent *event);
30 bool endPaint(KoPointerEvent *event);
31
32 void hoverPaint(KoPointerEvent *event);
33
34 QPainterPath brushOutline(const KisLiquifyProperties &props);
35
36private:
37 struct Private;
38 const QScopedPointer<Private> m_d;
39};
40
41#endif /* __KIS_LIQUIFY_PAINT_HELPER_H */
const QScopedPointer< Private > m_d
QPainterPath brushOutline(const KisLiquifyProperties &props)
void continuePaint(KoPointerEvent *event)
void startPaint(KoPointerEvent *event, const KoCanvasResourceProvider *manager)
void configurePaintOp(const KisLiquifyProperties &_props, KisLiquifyTransformWorker *worker)
void hoverPaint(KoPointerEvent *event)
bool endPaint(KoPointerEvent *event)
KisLiquifyPaintHelper(const KisCoordinatesConverter *converter)