Re: Margins for filters?

On Mon, Apr 19, 2010 at 1:06 AM, Dirk Schulze <vbs85@gmx.de> wrote:

> <svg xmlns="http://www.w3.org/2000/svg"
> xmlns:xlink="http://www.w3.org/1999/xlink">
> <defs>
>
> <mask id="mask">
>  <circle cx="50" cy="50" r="50" fill="white"/>
> </mask>
> </defs>
> <line x1="0" y1="50" x2="100" y2="50" stroke-width="100" stroke="green"
> mask="url(#mask)"/>
> <rect x="0" y="0" width="100" height="100" fill="green"
> mask="url(#mask)" transform="translate(100,0)"/>
> </svg>
>
> We only see one green circle, because the boundingBox of the line has a
> height of zero. So why fix this "issue" on filters with margin, but not
> on masking?
>

I don't know ... I haven't really thought about masking.

Rob
-- 
"He was pierced for our transgressions, he was crushed for our iniquities;
the punishment that brought us peace was upon him, and by his wounds we are
healed. We all, like sheep, have gone astray, each of us has turned to his
own way; and the LORD has laid on him the iniquity of us all." [Isaiah
53:5-6]

Received on Sunday, 18 April 2010 13:08:48 UTC