Code

Super duper mega (fun!) commit: replaced encoding=utf-8 with fileencoding=utf-8 in...
[inkscape.git] / src / display / nr-filter-skeleton.cpp
index 68c38c4b22b5a0daac9c17fbf484ef71637129f3..c17bee1d4b2b6dff91e73e186e206ea7bddb10a1 100644 (file)
 
 #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() 
 {}
@@ -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 */
 
@@ -50,7 +52,8 @@ int FilterSkeleton::render(FilterSlot &slot, Matrix const &trans) {
     return 0;
 }
 
-} /* namespace NR */
+} /* namespace Filters */
+} /* namespace Inkscape */
 
 /*
   Local Variables:
@@ -61,4 +64,4 @@ int FilterSkeleton::render(FilterSlot &slot, Matrix const &trans) {
   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 :