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
28
#include "
display/nr-filter-primitive.h
"
29
#include "
display/nr-filter-slot.h
"
30
#include "
display/nr-filter-units.h
"
31
32
namespace
Inkscape
{
33
namespace
Filters
{
34
35
class
FilterSkeleton
:
public
FilterPrimitive
36
{
37
public
:
38
FilterSkeleton
();
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 :
Inkscape::Filters::FilterPrimitive
Definition
nr-filter-primitive.h:34
Inkscape::Filters::FilterSkeleton
Definition
nr-filter-skeleton.h:36
Inkscape::Filters::FilterSkeleton::FilterSkeleton
FilterSkeleton()
Definition
nr-filter-skeleton.cpp:33
Inkscape::Filters::FilterSkeleton::~FilterSkeleton
~FilterSkeleton() override
Definition
nr-filter-skeleton.cpp:37
Inkscape::Filters::FilterSkeleton::render_cairo
void render_cairo(FilterSlot &slot) const override
Definition
nr-filter-skeleton.cpp:41
Inkscape::Filters::FilterSlot
Definition
nr-filter-slot.h:35
Inkscape::UI::Dialog::Filters
@ Filters
Definition
document-resources.cpp:72
Inkscape
Helper class to stream background task notifications as a series of messages.
Definition
actions-canvas-snapping.h:27
nr-filter-primitive.h
nr-filter-slot.h
nr-filter-units.h
src
display
nr-filter-skeleton.h
Generated on Sun Jul 13 2025 04:02:14 for Inkscape by
1.9.8