PtInRegion function gdi32

bool PtInRegion(
  1. HRGN hrgn,
  2. int x,
  3. int y
)

Determines whether the specified point is inside the specified region.

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

Implementation

@pragma('vm:prefer-inline')
bool PtInRegion(HRGN hrgn, int x, int y) => _PtInRegion(hrgn, x, y) != FALSE;