Krita Source Code Documentation
Loading...
Searching...
No Matches
KisMaskingBrushCompositeOpFactory.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 KISMASKINGBRUSHCOMPOSITEOPFACTORY_H
8#define KISMASKINGBRUSHCOMPOSITEOPFACTORY_H
9
10#include <QtGlobal>
11#include <KoChannelInfo.h>
12
13#include "kritaui_export.h"
14
16
18{
19public:
20 static KisMaskingBrushCompositeOpBase* create(const QString &id, KoChannelInfo::enumChannelValueType channelType,
21 int pixelSize, int alphaOffset);
22 static KisMaskingBrushCompositeOpBase* create(const QString &id, KoChannelInfo::enumChannelValueType channelType,
23 int pixelSize, int alphaOffset, qreal strength,
24 bool useSoftTexturing = false);
25
26 static KisMaskingBrushCompositeOpBase* createForAlphaSrc(const QString &id,
28 int pixelSize, int alphaOffset);
29 static KisMaskingBrushCompositeOpBase* createForAlphaSrc(const QString &id,
31 int pixelSize, int alphaOffset, qreal strength,
32 bool useSoftTexturing = false);
33
34 static QStringList supportedCompositeOpIds();
35};
36
37#endif // KISMASKINGBRUSHCOMPOSITEOPFACTORY_H
enumChannelValueType
enum to define the value of the channel