[Gtk-sharp-list] pixbuf-demo; This one works
Philip Van Hoof
spamfrommailing@freax.org
29 Apr 2003 11:04:05 +0200
--=-vhf/3ox0Tg9o4BaLqMAg
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
On Tue, 2003-04-29 at 10:02, Philip Van Hoof wrote:
> Have fun...
And, of course,
a screenshot
http://www.freax.be/pixbuf.png
and a first fix (attached)
--
Philip Van Hoof <me at freax dot org>
--=-vhf/3ox0Tg9o4BaLqMAg
Content-Disposition: attachment; filename=fix.diff
Content-Type: text/plain; name=fix.diff; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
--- /home/freax/PixbufExample.cs 2003-04-29 11:02:38.000000000 +0200
+++ PixbufExample.cs 2003-04-29 10:59:06.000000000 +0200
@@ -101,6 +101,9 @@
r1.width = (int) (iw * k);
r1.height = (int) (ih * k);
+ while ((r1.x + r1.width) > this.back_width) r1.x--;
+ while ((r1.y + r1.height) > this.back_height) r1.y--;
+
images[i].Composite(
frame,
r1.x, r1.y,
--=-vhf/3ox0Tg9o4BaLqMAg--