Re: [Tracker] Specifying thumbnailers as a service
- From: Bastien Nocera <hadess hadess net>
- To: Adrien BUSTANY <madcat mymadcat com>
- Cc: nautilus-list gnome org, jens gnome org, xdg lists freedesktop org, olivier lx student wau nl, Tracker mailing list <tracker-list gnome org>
- Subject: Re: [Tracker] Specifying thumbnailers as a service
- Date: Fri, 29 Aug 2008 11:29:40 +0100
On Fri, 2008-08-29 at 12:14 +0200, Adrien BUSTANY wrote:
Bastien Nocera a écrit :
On Fri, 2008-08-29 at 11:25 +0200, Philip Van Hoof wrote:
<arg type="i" name="size_x" direction="in" />
<arg type="i" name="size_y" direction="in" />
In the libgnomeui API, you only set one of those, and aspect ratio is
preserved. The size passed is the maximum width and height.
Well, we can have the Qt approach here :
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 ).
Why would you want to do that?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]