Source position: Img32.pas line 1219
function ExtractAvgScaleFromMatrix(
const mat: TMatrixD
):Double;