Increase the rectangle in size, keeping it centered.
Source position: types.pp line 548
function InflateRect( |
var Rect: TRect; |
dx: Integer; |
dy: Integer |
):Boolean; |
var Rect: TRectF; |
dx: single; |
dy: Single |
):Boolean; |
InflateRect inflates the rectangle horizontally with dx pixels on each side, and vertically with dy pixels, thus keeping its center point on the same location. It returns true if the operation was successfully, False if it was not (only possible if the address of Rect is Nil).
|
Check whether a point is inside a rectangle. |
|
|
Return the intersection of 2 rectangles. |
|
|
Check whether a rectangle is empty. |
|
|
Offset the rectangle. |
|
|
Return the center point of a rectangle. |
|
|
Return the size of the rectangle. |
|
|
Check whether a rectangle is empty. |