Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
nr-filter-skeleton.h
Go to the documentation of this file.
1// SPDX-License-Identifier: GPL-2.0-or-later
2#ifndef SEEN_NR_FILTER_SKELETON_H
3#define SEEN_NR_FILTER_SKELETON_H
4
5/*
6 * Filter primitive renderer skeleton class
7 * You can create your new filter primitive renderer by replacing
8 * all occurrences of Skeleton, skeleton and SKELETON with your filter
9 * type, like gaussian or blend in respective case.
10 *
11 * This can be accomplished with the following sed command:
12 * sed -e "s/Skeleton/Name/g" -e "s/skeleton/name/" -e "s/SKELETON/NAME/"
13 * nr-filter-skeleton.h >nr-filter-name.h
14 *
15 * (on one line, replace occurrences of 'name' with your filter name)
16 *
17 * Remember to convert the .cpp file too. The sed command is same for both
18 * files.
19 *
20 * Authors:
21 * Niko Kiirala <niko@kiirala.com>
22 *
23 * Copyright (C) 2007 authors
24 *
25 * Released under GNU GPL v2+, read the file 'COPYING' for more information.
26 */
27
31
32namespace Inkscape {
33namespace Filters {
34
36{
37public:
39 ~FilterSkeleton() override;
40
41 void render_cairo(FilterSlot &slot) const override;
42};
43
44} // namespace Filters
45} // namespace Inkscape
46
47#endif // SEEN_NR_FILTER_SKELETON_H
48/*
49 Local Variables:
50 mode:c++
51 c-file-style:"stroustrup"
52 c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
53 indent-tabs-mode:nil
54 fill-column:99
55 End:
56*/
57// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :
void render_cairo(FilterSlot &slot) const override
Helper class to stream background task notifications as a series of messages.