W3C home > Mailing lists > Public > www-svg@w3.org > April 2010

Re: Margins for filters?

From: Robert O'Callahan <robert@ocallahan.org>
Date: Mon, 19 Apr 2010 01:08:15 +1200
Message-ID: <t2g11e306601004180608v446079afxd01e94d8f2c6e227@mail.gmail.com>
To: Dirk Schulze <vbs85@gmx.de>
Cc: Jasper van de Gronde <th.v.d.gronde@hccnet.nl>, Erik Dahlstrom <ed@opera.com>, www-svg@w3.org
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.

"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
Received on Sunday, 18 April 2010 13:08:48 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:47:20 UTC