Re: Margins for filters?

On the one hand I agree to Rob, that more attribites make filters more
complex. On the other hand it would be a big break to the current Spec
to ignore filter regions (or subregions) at all.
The spec should be compatible to SVG 1.1.
And even if there are examples, where filter region equals the viewport,
the most examples clip to the necessary parts. This doesn't forbid you
to add further optimizations.
Also how would you implement clipping of the filter result. IIRC
clipPath gets applied right before the filter.

Dirk

Am Sonntag, den 18.04.2010, 16:53 +1200 schrieb Robert O'Callahan:
> On Sun, Apr 18, 2010 at 3:20 AM, Jasper van de Gronde
> <th.v.d.gronde@hccnet.nl> wrote:
>         Furthermore, have you considered an "auto" setting? For a lot
>         of primitives it is trivial to determine the appropriate
>         margin (they don't need one), and for things like blur, offset
>         and the morphology filters it's not a big problem either.
>         There are some (like convolution) that could be a little bit
>         trickier (when using the bias property for example), but I
>         think most can simply do without a margin by default.
> 
> I recommend everyone just implement "auto" and we amend the spec to
> not clip to the filter region. Then authors don't need to worry much
> about what they set it to, and we don't need new syntax to help them
> set it more accurately.
> 
> See http://lists.w3.org/Archives/Public/www-svg/2008May/0014.html for
> more details.
> 
> 
> 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 06:13:52 UTC