On 06/07/14 15:49, Raymond Liu wrote:
Hi! I've been using PyGame until now. I'm no expert at PyGame, and
have been told that Pyglet is more pythonic and elegant. Having had a
brief stroll through the programming guide, I agree! I love the
decorators for one thing.
I'm building a GUI app for myself, and one of the most important
funcionalities is that it is able to display images at 2x, 4x, or 8x
its original size, and that the enlargement be done jaggieless. I know
that PyGame has pygame.transform.scale2x() that does this. Is there an
equivalent Pyglet way of doing this? I had a quick read through the
programming guide and couldn't find anything. I'd be happy even with a
non-jaggieless way of scaling images. Please help. Thank you!
--
Have a look at sprites, you can assign your image to one and scale the
sprite.
HTH,
Adam.
--
You received this message because you are subscribed to the Google Groups
"pyglet-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pyglet-users.
For more options, visit https://groups.google.com/d/optout.