Code

Rename LPE: mirror reflect --> mirror symmetry
[inkscape.git] / src / display / nr-filter-turbulence.h
index bfbacc9f36c111b968453ed0d2e4746a5f007d14..d0f345360a41363b12a147898b2d03fa4a971b2b 100644 (file)
@@ -5,11 +5,19 @@
  * feTurbulence filter primitive renderer
  *
  * Authors:
- *   Felipe Sanches <felipe.sanches@gmail.com>
+ *   World Wide Web Consortium <http://www.w3.org/>
+ *   Felipe Corrêa da Silva Sanches <felipe.sanches@gmail.com>
  *   Niko Kiirala <niko@kiirala.com>
  *
- * Copyright (C) 2007 authors
+ * This file has a considerable amount of code adapted from
+ *  the W3C SVG filter specs, available at:
+ *  http://www.w3.org/TR/SVG11/filters.html#feTurbulence
+ *
+ * W3C original code is licensed under the terms of
+ *  the (GPL compatible) W3C® SOFTWARE NOTICE AND LICENSE:
+ *  http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
  *
+ * Copyright (C) 2007 authors
  * Released under GNU GPL, read the file 'COPYING' for more information
  */
 
@@ -60,8 +68,9 @@ public:
     virtual ~FilterTurbulence();
 
     virtual int render(FilterSlot &slot, FilterUnits const &units);
-    void update_pixbuffer(FilterSlot &slot, IRect &area);
-    
+    void update_pixbuffer(IRect &area, FilterUnits const &units);
+    void render_area(NRPixBlock *pix, IRect &full_area, FilterUnits const &units);
+
     void set_baseFrequency(int axis, double freq);
     void set_numOctaves(int num);
     void set_seed(double s);