Return the union of 2 rectangles.
Source position: types.pp line 538
function UnionRect( |
var Rect: TRect; |
const R1: TRect; |
const R2: TRect |
):Boolean; |
var Rect: TRectF; |
const R1: TRectF; |
const R2: TRectF |
):Boolean; |
const R1: TRect; |
const R2: TRect |
):TRect; |
const R1: TRectF; |
const R2: TRectF |
):TRectF; |
UnionRect retuns the rectangle that encompasses both R1 and R2 in Rect. It returns True if the resulting rectangle is not empty, False if the result is an empty rectangle (in which case the result is filled with zeroes)
|
Check whether a point is inside a rectangle. |
|
|
Return the intersection of 2 rectangles. |
|
|
Check whether a rectangle is empty. |
|
|
Offset the rectangle. |
|
|
Increase the rectangle in size, keeping it centered. |
|
|
Return the size of the rectangle. |