W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2009

Re: SVG as Widget Icon

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Fri, 30 Jan 2009 15:30:43 -0500
Message-ID: <49836373.20600@mit.edu>
To: Jere Kapyaho <jere.kapyaho@nokia.com>
CC: public-webapps <public-webapps@w3.org>

Jere Kapyaho wrote:
>> Treating svg icons in widgets in the same mode as <img> pointing to SVG
>> sounds great to me.
> 
> So in essence you would tell the SVG engine to rasterize the vector image in
> whatever size is suitable for the widget engine?

Not necessarily, no.  Of course the rasterization happens at some point, 
since the display medium typically works with discrete pixels, but it 
could well be happening at the hardware layer.

> (And if there is any
> animation, just use the first rendered frame.)

Declarative animation would be allowed.

> If so, the widget engine
> needs to pass an icon size in pixels to the SVG engine

It needs to do so anyway, no?

No idea on your question about conflicts of width/height; I'm not that 
familiar with the relevant part of the widgets spec.

-Boris
Received on Friday, 30 January 2009 20:31:31 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:29 GMT