def scaled_tile(self, tile):
		'''return a scaled tile'''
		width = int(TILES_WIDTH / tile.scale)
		height = int(TILES_HEIGHT / tile.scale)
		scaled_tile = cv.CreateImage((width,height), 8, 3)
		full_tile = self.load_tile(tile)
		cv.Resize(full_tile, scaled_tile)
		return scaled_tile
def scaled_tile ( self , tile ) : width = int ( TILES_WIDTH / tile . scale ) height = int ( TILES_HEIGHT / tile . scale ) scaled_tile = cv . CreateImage ( ( width , height ) , 8 , 3 ) full_tile = self . load_tile ( tile ) cv . Resize ( full_tile , scaled_tile ) return scaled_tile
return a scaled tile