NAME

NtGdiOffsetRgn  (WIN32U.@)

SYNOPSIS

 INT NtGdiOffsetRgn
 (
  HRGN hrgn,
  INT  x,
  INT  y
 )

DESCRIPTION

Moves a region by the specified X- and Y-axis offsets.

PARAMS

hrgn [In] Region to offset.
x [In] Offset right if positive or left if negative.
y [In] Offset down if positive or up if negative.

RETURNS

Success: 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.

Failure: ERROR

IMPLEMENTATION

Declared in "include/ntgdi.h". gitlab.winehq.org/wine/wine/blob/master/include/ntgdi.h

Implemented in "dlls/win32u/region.c". gitlab.winehq.org/wine/wine/blob/master/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 Nov 2024.