Home | GR32 |
IntersectRect
function IntersectRect(out Dst: TRect; const R1, R2: TRect): Boolean; overload;
function IntersectRect(out Dst: TFloatRect; const FR1, FR2: TFloatRect): Boolean; overload;
Description
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, TFloatRect, TRect
Copyright ©2000-2007 Alex Denisov and Contributors - Graphics32 v1.8.3 - Build on 4-March-2007