OffsetRgn3w
Usage
INT OffsetRgn
(
HRGN hrgn,
INT x,
INT y
)
Overview
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 "wingdi.h".
Implemented in "dlls/gdi32/region.c".
Debug channel "region".
Releases
5 releases since Debian 2.1 (Slink); the text changed 4 times.