def draw(self):
        w, h = self.size
        w, h = w / 2, h / 2
        matrix = pg.Matrix().orthographic(-w, w, -h, h, -1, 1)
        self.clear()
        self.batch.draw(matrix)
dataset/ETHPy150Open fogleman/pg/examples/sprites.py/Window.draw/original