Re: Resize image to fit button
- From: David Nečas (Yeti) <yeti physics muni cz>
- To: gtk-app-devel-list gnome org
- Subject: Re: Resize image to fit button
- Date: Fri, 9 Jun 2006 01:10:54 +0200
On Thu, Jun 08, 2006 at 04:04:31PM -0700, 3saul wrote:
I need to add images to buttons, the images will have random sizes but I need
to scale them down so that they're about a 10th of their original
size...what is the easiest way to do this?
gdk_pixbuf_scale_simple()
The details depend on whether the images should be scaled
to fit a button (=> gtk_icon_size_lookup()) or to 1/10,
these are two different things.
Yeti
--
Anonyms eat their boogers.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]