getPointFromGripMethod = function (pt, pth) {
  const out = {
    x: pt.x,
    y: pt.y
  }

  if (pth.matrix) {
    pt = transformPoint(out.x, out.y, pth.imatrix)
    out.x = pt.x
    out.y = pt.y
  }
  const zoom = svgCanvas.getZoom()
  out.x /= zoom
  out.y /= zoom

  return out
}
@function module:path.getPointFromGrip
@param {module:math.XYObject} pt
@param {module:path.Path} pth
@returns {module:math.XYObject}