some comments

This commit is contained in:
Jon Dowland 2008-01-29 21:17:11 +00:00
parent 1462e3cc7e
commit a825788903
5 changed files with 3 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 2 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 2 KiB

Before After
Before After

View file

@ -59,9 +59,11 @@ class HellowWorldGTK:
texbuf, patch.xoff, patch.yoff)
self.image1.set_from_pixbuf(texbuf)
# scale the texture up
pixbuf = self.image1.get_pixbuf()
if pixbuf:
scale = 3
scale = 2
self.image1.set_from_pixbuf(pixbuf.scale_simple(
pixbuf.get_width() * scale,
pixbuf.get_height() * scale,