Code

OCAL. Fix for Bug #638844 (Errors printed to console if openclipart search fails).
[inkscape.git] / src / display / nr-filter-skeleton.h
1 #ifndef __NR_FILTER_SKELETON_H__
2 #define __NR_FILTER_SKELETON_H__
4 /*
5  * Filter primitive renderer skeleton class
6  * You can create your new filter primitive renderer by replacing
7  * all occurences of Skeleton, skeleton and SKELETON with your filter
8  * type, like gaussian or blend in respective case.
9  *
10  * This can be accomplished with the following sed command:
11  * sed -e "s/Skeleton/Name/g" -e "s/skeleton/name/" -e "s/SKELETON/NAME/"
12  * nr-filter-skeleton.h >nr-filter-name.h
13  *
14  * (on one line, replace occurences of 'name' with your filter name)
15  *
16  * Remember to convert the .cpp file too. The sed command is same for both
17  * files.
18  *
19  * Authors:
20  *   Niko Kiirala <niko@kiirala.com>
21  *
22  * Copyright (C) 2007 authors
23  *
24  * Released under GNU GPL, read the file 'COPYING' for more information
25  */
27 #include "display/nr-filter-primitive.h"
28 #include "display/nr-filter-slot.h"
29 #include "display/nr-filter-units.h"
31 namespace Inkscape {
32 namespace Filters {
34 class FilterSkeleton : public FilterPrimitive {
35 public:
36     FilterSkeleton();
37     static FilterPrimitive *create();
38     virtual ~FilterSkeleton();
40     virtual int render(FilterSlot &slot, FilterUnits const &units);
42 private:
44 };
46 } /* namespace Filters */
47 } /* namespace Inkscape */
49 #endif /* __NR_FILTER_SKELETON_H__ */
50 /*
51   Local Variables:
52   mode:c++
53   c-file-style:"stroustrup"
54   c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
55   indent-tabs-mode:nil
56   fill-column:99
57   End:
58 */
59 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :