OffsetRect function user32

bool OffsetRect(
  1. Pointer<RECT> lprc,
  2. int dx,
  3. int dy
)

Moves the specified rectangle by the specified offsets.

To learn more, see learn.microsoft.com/windows/win32/api/winuser/nf-winuser-offsetrect.

Implementation

@pragma('vm:prefer-inline')
bool OffsetRect(Pointer<RECT> lprc, int dx, int dy) =>
    _OffsetRect(lprc, dx, dy) != FALSE;