Code

Rename LPE: mirror reflect --> mirror symmetry
[inkscape.git] / src / display / nr-filter-skeleton.cpp
index f595f13f16945fec949a1e9b35cb62911de419d8..d45f6e916ca5fb4eaddab38329420fae4e0aacac 100644 (file)
@@ -5,7 +5,7 @@
  * 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)
@@ -23,6 +23,7 @@
 
 #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"
 
@@ -38,9 +39,10 @@ FilterPrimitive * FilterSkeleton::create() {
 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 */