NAME

NtGdiGetRgnBox  (WIN32U.@)

SYNOPSIS

 INT NtGdiGetRgnBox
 (
  HRGN  hrgn,
  RECT* rect
 )

DESCRIPTION

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 "ntgdi.h". https://source.winehq.org/source/include/ntgdi.h

Implemented in "dlls/win32u/region.c". https://source.winehq.org/source/dlls/win32u/region.c

Debug channel "region".


Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Apr 2024.