Did I find the right examples for you? yes no

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)

src/d/i/Dililatum-0.1/dililatum/tools/posmarker.py   Dililatum(Download)
import pygame
from pygame.locals import *
from dililatum.bitmap import BitMap
 
class NewSurface(pygame.Surface):
        self.img = pygame.image.load(self.imgfile).convert()
        self.points = NewSurface((640, 480), SRCALPHA)
        self.positions = BitMap(640, 480)
        self.points.set_checkpoints(self.positions)
 

src/d/i/Dililatum-0.1/dililatum/place.py   Dililatum(Download)
import pygame
from pygame.locals import *
from dililatum.bitmap import BitMap
 
class Place:
    def load_posfile(self):
        if self.posfile is not None:
            try:
                bm = BitMap(*self.world.size)
                bm.load(self.posfile)