SetViewportOrgEx function gdi32

int SetViewportOrgEx(
  1. int hdc,
  2. int x,
  3. int y,
  4. Pointer<POINT> lppt,
)

The SetViewportOrgEx function specifies which device point maps to the window origin (0,0).

BOOL SetViewportOrgEx(
  HDC     hdc,
  int     x,
  int     y,
  LPPOINT lppt
);

Implementation

int SetViewportOrgEx(int hdc, int x, int y, Pointer<POINT> lppt) =>
    _SetViewportOrgEx(hdc, x, y, lppt);