Krita Source Code Documentation
Loading...
Searching...
No Matches
FillLayer.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_FILLLAYER_H
7#define LIBKIS_FILLLAYER_H
8
9#include <QObject>
10#include "Node.h"
11#include <InfoObject.h>
12#include <Selection.h>
13
14#include <kis_types.h>
15
16#include "kritalibkis_export.h"
17#include "libkis.h"
24class KRITALIBKIS_EXPORT FillLayer : public Node
25{
26 Q_OBJECT
27 Q_DISABLE_COPY(FillLayer)
28
29public:
46 explicit FillLayer(KisImageSP image, QString name, KisFilterConfigurationSP filterConfig, Selection &selection, QObject *parent = 0);
47 explicit FillLayer(KisGeneratorLayerSP layer, QObject *parent = 0);
48 ~FillLayer() override;
49public Q_SLOTS:
50
74 virtual QString type() const override;
75
82 bool setGenerator(const QString &generatorName, InfoObject *filterConfig);
83 QString generatorName();
84
85 InfoObject *filterConfig();
86};
87
88#endif // LIBKIS_FILLLAYER_H
The FillLayer class A fill layer is much like a filter layer in that it takes a name and filter....
Definition FillLayer.h:25
Definition Node.h:24
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
friend class FillLayer
Definition Node.h:701