summaryrefslogtreecommitdiffstats
path: root/src/filter-chemistry.cpp
diff options
context:
space:
mode:
authorNicholas Bishop <nicholasbishop@gmail.com>2007-07-22 19:46:00 +0000
committernicholasbishop <nicholasbishop@users.sourceforge.net>2007-07-22 19:46:00 +0000
commit98e786e3b7c687fdff277130e04cb0aa4fbe5343 (patch)
tree7a43bffe44453ec2019429630aaa57376e8a28bb /src/filter-chemistry.cpp
parenttspan statusbar description (diff)
downloadinkscape-98e786e3b7c687fdff277130e04cb0aa4fbe5343.tar.gz
inkscape-98e786e3b7c687fdff277130e04cb0aa4fbe5343.zip
Filter effects dialog:
Created simple controls for feConvolveMatrix. Currently only handles attributes order and kernelMatrix. (bzr r3277)
Diffstat (limited to 'src/filter-chemistry.cpp')
-rw-r--r--src/filter-chemistry.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/filter-chemistry.cpp b/src/filter-chemistry.cpp
index 9317ed082..e0dbee9ea 100644
--- a/src/filter-chemistry.cpp
+++ b/src/filter-chemistry.cpp
@@ -135,6 +135,8 @@ filter_add_primitive(SPFilter *filter, const NR::FilterPrimitiveType type)
case NR::NR_FILTER_COMPOSITE:
break;
case NR::NR_FILTER_CONVOLVEMATRIX:
+ repr->setAttribute("order", "3 3");
+ repr->setAttribute("kernelMatrix", "0 0 0 0 0 0 0 0 0");
break;
case NR::NR_FILTER_DIFFUSELIGHTING:
break;