Re: Rescaling Gtk::Image
- From: Sohail Somani <sohail taggedtype net>
- To: Simon Fuhrmann <NightSlayer gmx de>
- Cc: gtkmm-list gnome org
- Subject: Re: Rescaling Gtk::Image
- Date: Wed, 25 Jun 2008 10:23:11 -0700
Simon Fuhrmann wrote:
Hello!
Hello!
It's somewhat special to see a post with no problem in it, but it
describes a solution to a common problem and I like the solution. I
didn't go through all of it but it seems to be a very usable piece of
code for a not-so-uncommon problem. I'll definitely make a copy and I
will remember when I come to a similar situation.
Thanks for taking a look. One reason I posted it was so that Google
could pick it up if anyone else has the same problem.
First I was irritated by the use of the aspect frame, because
calculating the new width/height by hand is not that difficult. But I
think it has its advantages.
Yes, I think the main advantage being that it is a tested piece of
functionality :-)
Thanks for your feedback!
--
Sohail Somani
http://uint32t.blogspot.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]