Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)
Draws (blits) a rectangular block from one surface onto another surface.

src/s/c/scavenger-HEAD/main.py   scavenger(Download)
						g = game.media.gfx_valuable_debris[tier][game.debris_types[tier][item_type]['graphic']]
 
					Program.map_block_copy(self.graph, 25, text_height - 110, g,
										   origin_x = 10, origin_y = 10, width = 20, height = 20, flags = 0)
					pygame.draw.rect(self.graph, (200,200,200), ((25, text_height - 110),(20,20)), 1)
						self.total_payment += game.debris_types[tier][item_type]['worth'] * game.player.hold_contents[tier][item_type]
 
					Program.map_block_copy(self.graph, 25, text_height - 110, g,
										   origin_x = 10, origin_y = 10, width = 20, height = 20, flags = 0)
					pygame.draw.rect(self.graph, (200,200,200), ((25, text_height - 110),(20,20)), 1)

src/s/c/scavenger-HEAD/media.py   scavenger(Download)
			for b in range(w/size):
				tiles[num] = Program.new_map(size,height)
				Program.map_block_copy(tiles[num], 0, 0, tilemap_sur, b*size, a*height, size, height)
				num+=1
			if end_height != None and end_height == a: