Scales and translates the input rectangle, aRect, so that it fits into the boundaries of the BoundsRect. The function returns the ratio the input rectangle needed to grow to fit within the boundary rectangle.
function FitRect( var aRect: TRect; const BoundsRect: TRect; Grow: Boolean = False ): Single; overload;
Rectangle to scale and translate
Controls whether the input rect is scaled as well as translated