[Overview][Types][Procedures and functions][Index] |
Indicates whether member in the specified rectangles have the same values.
Source position: graphmath.pp line 86
function SameRect( |
R1: PRect; |
R2: PRect |
):Boolean; |
R1 |
|
Pointer to a TRect instance examined in the routine. |
R2 |
|
Pointer to a TRect instance examined in the routine. |
True when the specified rectangles have the same values in the members.
SameRect is Boolean function used to determine whether the TRect instances R1 and R2 represent the same rectangular areas. It compares the values for the Left, Right, Top, and Bottom members in the TRect instances. The return value is True when members in R1 have the same values as the corresponding members in R2.
SameRect replaces the deprecated CompareRect routine in the lclproc.pas unit in the LCL.
Added in LazUtils version 3.99.
Version 4.0 | Generated 2025-05-03 | Home |