
Thu, 19 Jul 2007 22:49:39 -0300 "Felipe Sanches" <felipe.sanches@...400...> kirjoitti:
I have implemented the convolve matrix filter
The patch and the 2 new files have been posted to the patch tracker: /src/display/nr-filter-convolve-matrix.cpp /src/display/nr-filter-convolve-matrix.h
See http://sourceforge.net/tracker/index.php?func=detail&aid=1757228&gro...
Wow, great. I haven't tested that yet, but looking at the code, it seems fine.
I am wondering what is causing the spurious horizontal or vertical lines when we scroll the screen. Any clue on that?
Since feConvolveMatrix uses other pixels than the target pixel itself, you need to implement area_enlarge in the renderer.
That function, given the to-be-rendered area and object space - screen coordinates transformation matrix, should modify the area to contain all pixels that are required to correctly render the original area.
See display/nr-filter-gaussian.cpp for an example.