[Overview][Types][Procedures and functions][Variables][Index] |
Computes the bounding box of the union of two rectangles.
Source position: winapih.inc line 357
function UnionRect( |
var DestRect: TRect; |
const SrcRect1: TRect; |
const SrcRect2: TRect |
):Boolean; |
False when the resulting rectangle is empty, i.e. when both source rectangles are empty.
The bounding box is the rectangle that covers the entire resulting area. Here the result covers both rectangles.
The rectangles can be disjoint.
Rectangles with a zero or negative width or height are treated as empty rectangles (ignored).
Version 3.2 | Generated 2024-02-25 | Home |