Krita Source Code Documentation
Loading...
Searching...
No Matches
KisOpacityOption.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2022 Dmitry Kazakov <dimula73@gmail.com>
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 */
6#ifndef KISOPACITYOPTION_H
7#define KISOPACITYOPTION_H
8
10
11class KisPainter;
12
13class PAINTOP_EXPORT KisOpacityOption : public KisStandardOption<KisOpacityOptionData>
14{
15public:
17
18 KisOpacityOption(const KisPropertiesConfiguration *setting, KisNodeSP currentNode);
19
20 using BaseClass::apply;
21
22 void apply(KisPainter* painter, const KisPaintInformation& info) const;
23
24private:
25 bool m_indirectPaintingActive = false;
26};
27
28#endif // KISOPACITYOPTION_H
qreal apply(const KisPaintInformation &info) const