index f595f13f16945fec949a1e9b35cb62911de419d8..c17bee1d4b2b6dff91e73e186e206ea7bddb10a1 100644 (file)
* type, like gaussian or blend in respective case.
*
* This can be accomplished with the following sed command:
- * sed -e "s/Skeleton/Name/g" -e "s/skeleton/name" -e "s/SKELETON/NAME"
+ * sed -e "s/Skeleton/Name/g" -e "s/skeleton/name/" -e "s/SKELETON/NAME/"
* nr-filter-skeleton.cpp >nr-filter-name.cpp
*
* (on one line, replace occurences of 'name' with your filter name)
#include "display/nr-filter-skeleton.h"
#include "display/nr-filter-slot.h"
+#include "display/nr-filter-units.h"
#include "libnr/nr-pixblock.h"
-#include "libnr/nr-matrix.h"
-namespace NR {
+namespace Inkscape {
+namespace Filters {
FilterSkeleton::FilterSkeleton()
{}
FilterSkeleton::~FilterSkeleton()
{}
-int FilterSkeleton::render(FilterSlot &slot, Matrix const &trans) {
- NRPixBlock *in = slot.get(_input);
- NRPixBlock *out;
+int FilterSkeleton::render(FilterSlot &slot,
+ FilterUnits const &/*units*/) {
+ //NRPixBlock *in = slot.get(_input);
+ NRPixBlock *out = new NRPixBlock();
/* Insert rendering code here */
return 0;
}
-} /* namespace NR */
+} /* namespace Filters */
+} /* namespace Inkscape */
/*
Local Variables:
fill-column:99
End:
*/
-// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :