GimpUi.Preview.prototype.transform
function transform(src_x: Number(gint), src_y: Number(gint)): [dest_x: Number(gint), dest_y: Number(gint)] {
// Gjs wrapper for gimp_preview_transform()
}
Transforms from image to widget coordinates.
Since 2.4
- src_x
horizontal position on the previewed image
- src_y
vertical position on the previewed image
- dest_x
returns the transformed horizontal position
- dest_y
returns the transformed vertical position