Code

Refactoring SPColor to C++ and removing legacy CMYK implementation
[inkscape.git] / src / sp-feimage.h
index 958c6232fcfc91cc6e090e7d272539e327242474..6786471ad14fa19e14acfb6c7c1418a28459c9e4 100644 (file)
@@ -6,6 +6,7 @@
  */
 /*
  * Authors:
+ *   Felipe CorrĂȘa da Silva Sanches <felipe.sanches@gmail.com>
  *   Hugo Rodrigues <haa.rodrigues@gmail.com>
  *
  * Copyright (C) 2006 Hugo Rodrigues
 
 #include "sp-filter.h"
 #include "sp-feimage-fns.h"
+#include "svg/svg-length.h"
 
 /* FeImage base class */
 class SPFeImageClass;
 
-struct SPFeImage : public SPFilter {
+struct SPFeImage : public SPFilterPrimitive {
     /** IMAGE ATTRIBUTES HERE */
-    
+    /*
+        Apparently there's no attribute to keep here 
+        since 'in' and 'xlink:href' are common filter attributes.
+        --Juca
+    */
+    SVGLength x, y, height, width;
 };
 
 struct SPFeImageClass {
-    SPFilterClass parent_class;
+    SPFilterPrimitiveClass parent_class;
 };
 
 GType sp_feImage_get_type();