Source position: Img32.pas line 1114
function GetEllipticalAngleFromPoint(
const ellipseRect: TRectD;
const pt: TPointD
):Double;