EqualRect
Check if two rectangles are equal.
Declaration
Source position: types.pp line 330
function EqualRect(const r1: TRect; const r2: TRect) : Boolean;
Description
EqualRect returns True if the rectangles R1 and R2 are equal (i.e. have the position and size). If the rectangles differ, the function returns False
See also
| Name | Description |
|---|---|
| Bounds | Create a rectangle, given a position and size |
| InflateRect | Increase the rectangle in size, keeping it centered |
| IntersectRect | Return the intersection of 2 rectangles |
| IsRectEmpty | Check whether a rectangle is empty |
| OffsetRect | Offset the rectangle |
| PtInRect | Check whether a point is inside a rectangle. |
| Rect | Create a rectangle record |
| Size | Return the size of the rectangle |
| UnionRect | Return the union of 2 rectangles. |