Source position: JPL.Rects.pas line 51
procedure CenterRect(
const MainRect: TRect;
var CenteredRect: TRect;
CenterHorizontally: Boolean = True;
CenterVertically: Boolean = True
);