deltaTransformPoint method

GPoint deltaTransformPoint(
  1. GPoint point, [
  2. GPoint? out
])

Given a point in the pre-transformed coordinate space, returns the coordinates of that point after the transformation occurs. Unlike the standard transformation applied using the transformPoint() method, the deltaTransformPoint() method's transformation does not consider the translation parameters tx and ty.

The point for which you want to get the result of the matrix transformation.

Returns the point resulting from applying the matrix transformation.

Implementation

GPoint deltaTransformPoint(GPoint point, [GPoint? out]) {
  out ??= GPoint();
  return out.setTo(point.x * a + point.y * c, point.x * b + point.y * d);
}