System.Types.TRect.IntersectRect
C++
inline bool TRect::IntersectRect(const TRect &R1, const TRect &R2) {
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
function | public | SystemTypes.h | System.Types | TRect |
Description
Teste si les deux rectangles s'intersectent.
IntersectRect renvoie True si l'intersection établie entre les rectangles R1
et R2
n'est pas vide, sinon elle renvoie False.