Krita Source Code Documentation
Loading...
Searching...
No Matches
FilterMask.h
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: 2017 Wolthera van Hövell tot Westerflier <griffinvalley@gmail.com>
3
*
4
* SPDX-License-Identifier: LGPL-2.0-or-later
5
*/
6
#ifndef LIBKIS_FILTERMASK_H
7
#define LIBKIS_FILTERMASK_H
8
9
#include <QObject>
10
#include "
Node.h
"
11
#include "
Filter.h
"
12
13
#include <
kis_types.h
>
14
15
#include "kritalibkis_export.h"
16
#include "
libkis.h
"
17
28
class
KRITALIBKIS_EXPORT
FilterMask
:
public
Node
29
{
30
Q_OBJECT
31
Q_DISABLE_COPY(
FilterMask
)
32
33
public
:
34
explicit
FilterMask
(
KisImageSP
image, QString name,
Filter
&filter, QObject *parent = 0);
35
explicit
FilterMask
(
KisImageSP
image,
KisFilterMaskSP
mask, QObject *parent=0);
36
~FilterMask
()
override
;
37
public
Q_SLOTS:
38
62
QString
type
()
const override
;
63
64
void
setFilter(
Filter
&filter);
65
Filter
*filter();
66
};
67
68
#endif
// LIBKIS_FILTERMASK_H
69
70
Filter.h
Node.h
FilterMask
The FilterMask class A filter mask, unlike a filter layer, will add a non-destructive filter to the c...
Definition
FilterMask.h:29
Filter
Definition
Filter.h:31
KisSharedPtr< KisImage >
Node
Definition
Node.h:24
Node::FilterMask
friend class FilterMask
Definition
Node.h:703
Node::type
virtual QString type() const
type Krita has several types of nodes, split in layers and masks. Group layers can contain other laye...
Definition
Node.cpp:463
kis_types.h
libkis.h
libs
libkis
FilterMask.h
Generated at
2025-11-04 02:30:02+01:00
from
Krita
branch
master
, commit
c9dde2e79561a8aea4a7e8d9ac99c98a7bac9e52