[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[pygame] set_clip
Hello,
I'm trying to get set_clip to work. But it appears
the image is wrapping/distorting.
This is how I'm doing it.
im.set_clip((0, 0, 94, 103))
im.blit(im2, (0,0))
im.set_clip((0, 103, 94, 153))
im.blit(im3, (0,103))
im, im2, and im3 are the same size (95,154).
Utimately what I need to do is darken part of an
image(or lighten the other part). I was trying to
blit the darkened part to the top, and the lighter
part to the bottom.
Anyone got any ideas?
__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
____________________________________
pygame mailing list
pygame-users@seul.org
http://pygame.seul.org