Bastien Nocera a écrit :
Well, we can have the Qt approach here :On Fri, 2008-08-29 at 11:25 +0200, Philip Van Hoof wrote: keep width and height, and add a third parameter which is PreserveRatio (actually in Qt there are three possibilities : keep ratio, don't keep ratio and extend, see http://doc.trolltech.com/4.4/qpixmap.html#scaled ). Cheers Adrien _______________________________________________ xdg mailing list xdg lists freedesktop org http://lists.freedesktop.org/mailman/listinfo/xdg |