Code

patch by Dennis Lin: optionally for debugging paint the rect-to-redraw yellow
[inkscape.git] / src / display / nr-filter-component-transfer.cpp
index 1f519335dcf55fe75a4c55e7f8d400bd0e9b989b..909dc7d90607cbb1a22da8bebb20d0aaa4993ff5 100644 (file)
@@ -10,6 +10,7 @@
  */
 
 #include "display/nr-filter-component-transfer.h"
+
 namespace NR {
 
 FilterComponentTransfer::FilterComponentTransfer()
@@ -46,6 +47,35 @@ void FilterComponentTransfer::area_enlarge(NRRectL &area, Matrix const &trans)
 {
 }
 
+void FilterComponentTransfer::set_type(FilterComponentTransferType t){
+    type = t;
+}
+
+void FilterComponentTransfer::set_slope(double s){
+        slope = s;
+}
+
+void FilterComponentTransfer::set_tableValues(std::vector<double> &tv){
+        tableValues = tv;
+}
+
+
+void FilterComponentTransfer::set_intercept(double i){
+        intercept = i;
+}
+
+void FilterComponentTransfer::set_amplitude(double a){
+        amplitude = a;
+}
+
+void FilterComponentTransfer::set_exponent(double e){
+        exponent = e;
+}
+
+void FilterComponentTransfer::set_offset(double o){
+        offset = o;
+}
+
 } /* namespace NR */
 
 /*