Krita Source Code Documentation
Loading...
Searching...
No Matches
CloneLayer.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_CLONELAYER_H
7
#define LIBKIS_CLONELAYER_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
25
class
KRITALIBKIS_EXPORT
CloneLayer
:
public
Node
26
{
27
Q_OBJECT
28
Q_DISABLE_COPY(
CloneLayer
)
29
30
public
:
31
explicit
CloneLayer
(
KisImageSP
image, QString name,
KisLayerSP
source
, QObject *parent = 0);
32
39
explicit
CloneLayer
(
KisCloneLayerSP
layer, QObject *parent = 0);
40
~CloneLayer
()
override
;
41
public
Q_SLOTS:
42
49
virtual
QString
type
()
const override
;
50
55
Node
* sourceNode()
const
;
56
61
void
setSourceNode(
Node
* node);
62
};
63
64
#endif
// LIBKIS_PAINTLAYER_H
65
source
KisMagneticGraph::vertex_descriptor source(typename KisMagneticGraph::edge_descriptor e, KisMagneticGraph g)
Definition
KisMagneticGraph.h:251
Node.h
CloneLayer
The CloneLayer class A clone layer is a layer that takes a reference inside the image and shows the e...
Definition
CloneLayer.h:26
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::CloneLayer
friend class CloneLayer
Definition
Node.h:708
kis_types.h
libkis.h
libs
libkis
CloneLayer.h
Generated at
2025-11-04 02:30:02+01:00
from
Krita
branch
master
, commit
c9dde2e79561a8aea4a7e8d9ac99c98a7bac9e52