inverted surface
This commit is contained in:
parent
e36a232a3e
commit
838184cb3f
|
@ -159,6 +159,9 @@ def get_hue_shifted_surface(base, offset):
|
|||
del pixels
|
||||
return surface
|
||||
|
||||
def get_inverted_surface(base):
|
||||
return get_hue_shifted_surface(base, 180)
|
||||
|
||||
def fill_tile(surface, tile):
|
||||
for x in xrange(0, surface.get_width(), tile.get_width()):
|
||||
for y in xrange(0, surface.get_height(), tile.get_height()):
|
||||
|
|
Loading…
Reference in New Issue