share filter, clip and mask code between various SVG renderers
Created attachment 14879 [details] the patch