transformPoint method

Point transformPoint(
  1. Point point
)

Maps point using the values of this matrix.

Implementation

Point transformPoint(Point point) {
  return Point(
    (a * point.x) + (c * point.y) + e,
    (b * point.x) + (d * point.y) + f,
  );
}