Krita Source Code Documentation
Loading...
Searching...
No Matches
KisQPainterStateSaver.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2017 Dmitry Kazakov <dimula73@gmail.com>
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 */
6
7#ifndef KISQPAINTERSTATESAVER_H
8#define KISQPAINTERSTATESAVER_H
9
10#include "kritaglobal_export.h"
11
12class QPainter;
13
14class KRITAGLOBAL_EXPORT KisQPainterStateSaver
15{
16public:
17 KisQPainterStateSaver(QPainter *painter);
19
20private:
22 QPainter *m_painter;
23};
24
25#endif // KISQPAINTERSTATESAVER_H
KisQPainterStateSaver(const KisQPainterStateSaver &rhs)