/* * SPDX-FileCopyrightText: 2017 Dmitry Kazakov * * SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef KISMASKINGBRUSHCOMPOSITEOPFACTORY_H #define KISMASKINGBRUSHCOMPOSITEOPFACTORY_H #include #include #include "kritaui_export.h" class KisMaskingBrushCompositeOpBase; class KRITAUI_EXPORT KisMaskingBrushCompositeOpFactory { public: static KisMaskingBrushCompositeOpBase* create(const QString &id, KoChannelInfo::enumChannelValueType channelType, int pixelSize, int alphaOffset); static KisMaskingBrushCompositeOpBase* create(const QString &id, KoChannelInfo::enumChannelValueType channelType, int pixelSize, int alphaOffset, qreal strength, bool useSoftTexturing = false); static KisMaskingBrushCompositeOpBase* createForAlphaSrc(const QString &id, KoChannelInfo::enumChannelValueType channelType, int pixelSize, int alphaOffset); static KisMaskingBrushCompositeOpBase* createForAlphaSrc(const QString &id, KoChannelInfo::enumChannelValueType channelType, int pixelSize, int alphaOffset, qreal strength, bool useSoftTexturing = false); static QStringList supportedCompositeOpIds(); }; #endif // KISMASKINGBRUSHCOMPOSITEOPFACTORY_H