code: def preTranslate(self, tx, ty):
          
          self.e += tx * self.a + ty * self.c
          self.f += tx * self.b + ty * self.d
          return self
docs: Calculate pre translation and replace current matrix.