Source position: cyGraphics.pas line 130
function GetProportionalRect(
fromRect: TRect;
InsideRect: TRect
):TRect;