GimpUi.Preview.prototype.untransform

function untransform(src_x: Number(gint), src_y: Number(gint)): [dest_x: Number(gint), dest_y: Number(gint)] {
    // Gjs wrapper for gimp_preview_untransform()
}
  

Transforms from widget to image coordinates.

Since 2.4

src_x

horizontal position relative to the preview area's origin

src_y

vertical position relative to preview area's origin

dest_x

returns the untransformed horizontal position

dest_y

returns the untransformed vertical position