MoveToEx function gdi32

bool MoveToEx(
  1. HDC hdc,
  2. int x,
  3. int y,
  4. Pointer<POINT>? lppt,
)

Updates the current position to the specified point and optionally returns the previous position.

To learn more, see learn.microsoft.com/windows/win32/api/wingdi/nf-wingdi-movetoex.

Implementation

@pragma('vm:prefer-inline')
bool MoveToEx(HDC hdc, int x, int y, Pointer<POINT>? lppt) =>
    _MoveToEx(hdc, x, y, lppt ?? nullptr) != FALSE;