On Wednesday, 11 de January de 2012 15.43.57, Uwe Rathmann wrote: > On Wed, 11 Jan 2012 11:35:15 -0200, Thiago Macieira wrote: > > A device with limited resources but powerful enough that rasterising SVG > > on the fly isn't an issue? > > It is - but as our layouts are fix during the runtime of the application > this only has to be done once. Later the icons are taken from a pixmap > cache ( a further optimization could be to store the cache to disk ). So > we only have the penalty of a worse startup time and when we show a page > the first time.
Can't you pre-rasterise the files and store them on the device's image? Sounds like a much better solution to me. > One idea I had was to "precompile" the SVG images on the PC to something > QPicture can load. Unfortunately QPicture seems to be forgotten, when Qt4 > moved to a floating based rendering. It can't be scaled properly because > the boundingRect is not accurate and in integers only. Use PNG. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center PGP/GPG: 0x6EF45358; fingerprint: E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest