function IntersectRect(out Dst: TRect; const R1, R2: TRect): Boolean; overload;

function IntersectRect(out Dst: TFloatRect; const FR1, FR2: TFloatRect): Boolean; overload;


Calculates intersection of the rectangles and writes result into Dst. Functions return True if rectangles intersect, otherwise it returns False and writes an empty rectangle into Dst, that is rectangle with all coortinates equal to 0.

See Also

Creating Rectangles, Rectangle Types, Rectangle Types