Krita Source Code Documentation
Loading...
Searching...
No Matches
KoClipMaskPainter.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2016 Dmitry Kazakov <dimula73@gmail.com>
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 */
6
7#ifndef KOCLIPMASKPAINTER_H
8#define KOCLIPMASKPAINTER_H
9
10#include "kritaflake_export.h"
11
12#include <QScopedPointer>
13
14class QPainter;
15class QRectF;
16
17
18class KRITAFLAKE_EXPORT KoClipMaskPainter
19{
20public:
21 KoClipMaskPainter(QPainter *painter, const QRectF &globalClipRect);
23
24 QPainter* shapePainter();
25 QPainter* maskPainter();
26
27 void renderOnGlobalPainter();
28
29private:
30
31 struct Private;
32 const QScopedPointer<Private> m_d;
33};
34
35#endif // KOCLIPMASKPAINTER_H
QPainter * shapePainter()
QPainter * maskPainter()
const QScopedPointer< Private > m_d