Reference

PtInRegion(3w)

NAME

PtInRegion (GDI32.@)

SYNOPSIS

BOOL PtInRegion
(
HRGN hrgn,
INT x,
INT y
)

DESCRIPTION

Tests whether the specified point is inside a region.

PARAMS

hrgn [In] Region to test.

x [In] X-coordinate of point to test.

y [In] Y-coordinate of point to test.

RETURNS

Non-zero if the point is inside the region or zero otherwise.

IMPLEMENTATION

Declared in "wingdi.h".

Implemented in "dlls/gdi32/region.c".

Debug channel "region".

History