Re: Filter Templates

On Tue, Jan 11, 2011 at 11:34 AM, Simon Fraser <smfr@me.com> wrote:
> On Jan 11, 2011, at 11:27 AM, Sylvain Galineau wrote:
>> Like Tab, +1 on concept. My first thought was to apply SVG Parameters to
>> Filters. (See http://www.w3.org/TR/2009/WD-SVGParamPrimer-20090616/ for SVG
>> Parameters).
>
> That seems like the right approach, but how do you name the parameters from
> CSS?
> You'd have to do something like:
> filter: url(#myCoolFilter, param1=10px, param2=20px);

I'd recommend a separate function in that case, like svg() or something.

~TJ

Received on Tuesday, 11 January 2011 19:53:49 UTC