Krita Source Code Documentation
Loading...
Searching...
No Matches
SelectionMask.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_SELECTIONMASK_H
7
#define LIBKIS_SELECTIONMASK_H
8
9
#include <QObject>
10
#include "
Node.h
"
11
12
#include <
kis_types.h
>
13
14
#include "kritalibkis_export.h"
15
#include "
libkis.h
"
16
26
class
KRITALIBKIS_EXPORT
SelectionMask
:
public
Node
27
{
28
Q_OBJECT
29
Q_DISABLE_COPY(
SelectionMask
)
30
31
public
:
32
explicit
SelectionMask
(
KisImageSP
image, QString name, QObject *parent = 0);
33
explicit
SelectionMask
(
KisImageSP
image,
KisSelectionMaskSP
mask, QObject *parent = 0);
34
~SelectionMask
()
override
;
35
public
Q_SLOTS:
36
46
virtual
QString
type
()
const override
;
47
48
Selection
*selection()
const
;
49
50
void
setSelection(
Selection
*selection);
51
};
52
53
#endif
// LIBKIS_SELECTIONMASK_H
54
Node.h
KisSharedPtr< KisImage >
Node
Definition
Node.h:24
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
Node::SelectionMask
friend class SelectionMask
Definition
Node.h:704
SelectionMask
The SelectionMask class A selection mask is a mask type node that can be used to store selections....
Definition
SelectionMask.h:27
Selection
Definition
Selection.h:31
kis_types.h
libkis.h
libs
libkis
SelectionMask.h
Generated at
2025-11-04 02:30:02+01:00
from
Krita
branch
master
, commit
c9dde2e79561a8aea4a7e8d9ac99c98a7bac9e52