On Thu, 2011-06-23 at 14:28 +0200, Krzysztof Kosiński wrote:
W dniu 23 czerwca 2011 14:10 użytkownik Chris Morgan <chris.morganiser@...400...> napisał:
It is even as I feared and expected. This Cairo renderer breaks filters which use the BackgroundImage source even more than they were already
I didn't put much effort into implementing correct BackgroundImage handling yet. The semantics of BackgroundImage make absolutely no sense for meat the moment. For example, background accumulation has to be explicitly enabled (there seems to be no UI for setting this besides the XML editor), and objects are rendered onto the background without filters. I got it only to the point where blend modes and other per-pixel filters worked correctly.
There is one other way of enabling background accumulation. It is enabled if you set the "Blend Mode" to something other than normal using the Layers dialog. It will remain enabled even after resetting the blend mode back to normal. We should come up with a simpler method to enable it. The most expedient thing to do would be to enable it in the SVG root whenever the Background Image or Background Alpha is selected as a source...
Krzysztof: Congrats on merging the Cairo renderer! I've been waiting for this for a long time. I am eagerly anticipating more of your work during this years GSOC (including, perhaps, handling the filter primitive region properly?).
Tav