def apply_transform_2d(self, transform):
        self.x, self.y = self.pos = transform(self.x, self.y)
        self.px, self.py = transform(self.px, self.py)
        self.ox, self.oy = transform(self.ox, self.oy)
        self.dx = self.x - self.px
        self.dy = self.y - self.py
Apply a transformation on x, y, z, px, py, pz,
dataset/ETHPy150Open kivy/kivy/kivy/input/motionevent.py/MotionEvent.apply_transform_2d