Funktionreferenz


_WinAPI_UnionRect


Creates the union of two rectangles

#include <WinAPIGdi.au3>
_WinAPI_UnionRect ( $tRECT1, $tRECT2 )

Parameter

$tRECT1 $tagRECT structure that contains the first source rectangle.
$tRECT2 $tagRECT structure that contains the second source rectangle.

Rückgabewert

Success: $tagRECT structure that contains the union of the $tRECT1 and $tRECT2 rectangles.
Failure: Sets the @error flag to non-zero.

Bemerkungen

The union is the smallest rectangle that contains both source rectangles. The system ignores the
dimensions of an empty rectangle that is, a rectangle in which all coordinates are set to zero, so that
it has no height or no width.

Siehe auch

Suche nach UnionRect in der MSDN Bibliothek.