On Wed, 9 Aug 2006 03:18:41 GMT "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> babbled:
> > David writes: > > > According to the fdo specs, the user is allowed to select an > > icon size and theme. The spec contains methods of looking > > through the search paths to determine what icon themes and > > sizes are available. There is a fallback size and theme that > > every system must supply, but it doesn't have to be the default. > > B-) > > This is what makes evas a bad choice, it doesn't currently have > > an API for "give me this image in this size", let alone taking > > into account the theme element. This is also one of the reasons > > that SVG is too hard, since it's a vector format, a size will > > need to be specified for evas to load it. > > Let's be careful with these statements here. Evas is not > a "bad choice" for loading renderable formats of some type.. > wether SVG or whatnot. > One could imagine formats that are designed in such a way > that they require that you specify any number of things in order > to realize them as some set of pixels.. > Assuming you had the means to actually render the format, > or just have something else render it, you would still need to know > what the types of attributes are, and then let the user have a > means of specifying them somehow. > > Evas' current image loading api could actually handle most > anything via the use of the (file, key) pair.. it's just a matter > of wether or not to do it that way or some other way. > > Loading 'SVG icons', at this point in time, really just > means rendering some static SVG doc at some scale and then using > that rendered image.. There are libs that can do that, the most > commonly used by some seems to be 'librsvg', which latest version > seems to use Cairo for the rendering (and various other libs as > well.. including glib and gdk I believe). corect - beyond evas missing a way to say "load size XxY" explicitly when loading (evas assuming the image format has a size of its own and it will load that) evas does everything needed. this is a api call job to add - but then a matter of adding the loader logic internally. -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) [EMAIL PROTECTED] 裸好多 Tokyo, Japan (東京 日本) ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel