ScaleRect

function ScaleRect(const rec: TRect; sx, sy: double): TRect; overload;

function ScaleRect(const rec: TRectD; sx, sy: double): TRectD; overload;

function ScaleRect(const rec: TRect; scale: double): TRect; overload;

function ScaleRect(const rec: TRectD; scale: double): TRectD; overload;