Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
nr-filter-flood.h
Go to the documentation of this file.
1// SPDX-License-Identifier: GPL-2.0-or-later
2#ifndef SEEN_NR_FILTER_FLOOD_H
3#define SEEN_NR_FILTER_FLOOD_H
4
5/*
6 * feFlood filter primitive renderer
7 *
8 * Authors:
9 * Felipe CorrĂȘa da Silva Sanches <juca@members.fsf.org>
10 *
11 * Copyright (C) 2007 authors
12 *
13 * Released under GNU GPL v2+, read the file 'COPYING' for more information.
14 */
15
16#include <optional>
18
19struct SVGICCColor;
20
21namespace Inkscape {
22namespace Filters {
23
25{
26public:
28 ~FilterFlood() override;
29
30 void render_cairo(FilterSlot &slot) const override;
31 bool can_handle_affine(Geom::Affine const &) const override;
32 double complexity(Geom::Affine const &ctm) const override;
33 bool uses_background() const override { return false; }
34
35 void set_color(guint32 c);
36
37 Glib::ustring name() const override { return Glib::ustring("Flood"); }
38
39private:
41};
42
43} // namespace Filters
44} // namespace Inkscape
45
46#endif // SEEN_NR_FILTER_FLOOD_H
47/*
48 Local Variables:
49 mode:c++
50 c-file-style:"stroustrup"
51 c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
52 indent-tabs-mode:nil
53 fill-column:99
54 End:
55*/
56// 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
void render_cairo(FilterSlot &slot) const override
bool uses_background() const override
Glib::ustring name() const override
double complexity(Geom::Affine const &ctm) const override
bool can_handle_affine(Geom::Affine const &) const override
Indicate whether the filter primitive can handle the given affine.
double c[8][4]
unsigned int guint32
Helper class to stream background task notifications as a series of messages.
An icc-color specification.