code: function applyToPoint(matrix, point) {
      return {
          x: matrix.a * point.x + matrix.c * point.y + matrix.e,
          y: matrix.b * point.x + matrix.d * point.y + matrix.f
      };
  }
docs: Calculate a point transformed with an affine matrix
  @param matrix Affine matrix
  @param point Point
  @returns {{x: number, y: number}} Point