File indexing completed on 2024-06-16 04:12:12

0001 /*
0002  *  SPDX-FileCopyrightText: 2021 Dmitry Kazakov <dimula73@gmail.com>
0003  *
0004  *  SPDX-License-Identifier: GPL-2.0-or-later
0005  */
0006 
0007 #ifndef KISSTROKELAYERSTYLEFILTERPROJECTIONPLANE_H
0008 #define KISSTROKELAYERSTYLEFILTERPROJECTIONPLANE_H
0009 
0010 #include "kis_layer_style_filter_projection_plane.h"
0011 #include "krita_utils.h"
0012 
0013 
0014 class KisStrokeLayerStyleFilterProjectionPlane : public KisLayerStyleFilterProjectionPlane
0015 {
0016 public:
0017     KisStrokeLayerStyleFilterProjectionPlane(KisLayer *sourceLayer);
0018     KisStrokeLayerStyleFilterProjectionPlane(const KisStrokeLayerStyleFilterProjectionPlane &rhs, KisLayer *sourceLayer, KisPSDLayerStyleSP clonedStyle);
0019     ~KisStrokeLayerStyleFilterProjectionPlane() override;
0020 
0021     KritaUtils::ThresholdMode sourcePlaneOpacityThresholdRequirement() const;
0022 };
0023 
0024 using KisStrokeLayerStyleFilterProjectionPlaneSP = QSharedPointer<KisStrokeLayerStyleFilterProjectionPlane>;
0025 
0026 #endif // KISSTROKELAYERSTYLEFILTERPROJECTIONPLANE_H