GetRgnBox3w
Usage
INT GetRgnBox
(
HRGN hrgn,
LPRECT rect
)
Overview
Retrieves the bounding rectangle of the region. The bounding rectangle is the smallest rectangle that contains the entire region.
Params
hrgn [In] Region to retrieve bounding rectangle from.
rect [Out] Rectangle that will receive the coordinates of the bounding rectangle.
Returns
NULLREGION - The new region is empty. SIMPLEREGION - The new region can be represented by one rectangle. COMPLEXREGION - The new region can only be represented by more than one rectangle.
Implementation
Declared in "wingdi.h".
Implemented in "dlls/gdi32/region.c".
Debug channel "region".
Releases
5 releases since Debian 2.1 (Slink); the text changed 4 times.