[Overview][Types][Procedures and functions][Variables][Index] |
Computes the bounding box of the geometric difference of two rectangles.
Source position: winapih.inc line 353
function SubtractRect( |
out lprcDst: TRect; |
const lprcSrc1: TRect; |
const lprcSrc2: TRect |
):Boolean; |
lprcSrc2 |
|
The rectangle to subtract. |
False when the resulting rectangle is empty.
When the rectangles do not overlap completely in either x or y direction, the result is the first rectangle (lprcSrc1).
Otherwise the overlapping area is excluded from the first rectangle.
The bounding box is the rectangle that covers the entire resulting area.
lazarus-ccr.sourceforge.net |