transformInversePoint method

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

Transforms a GPoint object using the inverse of this GMatrix object and returns a new GPoint object containing the transformed point.

If an out GPoint object is provided, the result will be stored in it instead of creating a new object.

The transformed coordinates are calculated using the inverse of the matrix and the given point coordinates. The result is then stored in the out GPoint object and returned.

Implementation

GPoint transformInversePoint(GPoint point, [GPoint? out]) {
  return transformInverseCoords(point.x, point.y, out);
}