Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
nr-filter-merge.h
Go to the documentation of this file.
1// SPDX-License-Identifier: GPL-2.0-or-later
2#ifndef SEEN_NR_FILTER_MERGE_H
3#define SEEN_NR_FILTER_MERGE_H
4
5/*
6 * feMerge filter effect renderer
7 *
8 * Authors:
9 * Niko Kiirala <niko@kiirala.com>
10 *
11 * Copyright (C) 2007 authors
12 *
13 * Released under GNU GPL v2+, read the file 'COPYING' for more information.
14 */
15
16#include <vector>
18
19namespace Inkscape {
20namespace Filters {
21
23{
24public:
26
27 void render_cairo(FilterSlot &) const override;
28 bool can_handle_affine(Geom::Affine const &) const override;
29 double complexity(Geom::Affine const &ctm) const override;
30 bool uses_background() const override;
31
32 void set_input(int input) override;
33 void set_input(int input, int slot) override;
34
35 Glib::ustring name() const override { return Glib::ustring("Merge"); }
36
37private:
38 std::vector<int> _input_image;
39};
40
41} // namespace Filters
42} // namespace Inkscape
43
44#endif // SEEN_NR_FILTER_MERGE_H
45/*
46 Local Variables:
47 mode:c++
48 c-file-style:"stroustrup"
49 c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
50 indent-tabs-mode:nil
51 fill-column:99
52 End:
53*/
54// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :
3x3 matrix representing an affine transformation.
Definition affine.h:70
bool can_handle_affine(Geom::Affine const &) const override
Indicate whether the filter primitive can handle the given affine.
Glib::ustring name() const override
bool uses_background() const override
void render_cairo(FilterSlot &) const override
double complexity(Geom::Affine const &ctm) const override
void set_input(int input) override
Sets the input slot number 'slot' to be used as input in rendering filter primitive 'primitive' For f...
Helper class to stream background task notifications as a series of messages.