
24 Jun
2006
24 Jun
'06
6:34 p.m.
On 6/24/06, Hago Ziegler <hgi@...624...> wrote:
Please see the demo at: http://www.hagoschaos.de/test/test.html
It's because by SVG rules, black color is opaque in masking. White color is transparent. What's more, the "no color" (full transparency) means blending with "transparent black", i.e. rather counterintuitively, also becomes opaque in a mask. So, if you make the masking rect a gradient from white to transparent, or from white to black, then you will get what you want.
Again, this is rather counterintuitive, but that's what the SVG standard prescribes:
http://www.w3.org/TR/SVG11/masking.html#Masking
--
bulia byak
Inkscape. Draw Freely.
http://www.inkscape.org