Reference

PathToRegion(3w)

PathToRegion32 (GDI32.261)

NAME

PathToRegion - PathToRegion32 (GDI32.261)

SYNOPSIS

HRGN32 PathToRegion(HDC32 hdc);

DESCRIPTION

PathToRegion32 (GDI32.261).

FIXME

Check that SetLastError is being called correctly

The documentation does not state this explicitly, but a test under Windows shows that the region which is returned should be in device coordinates.

SEE ALSO

BeginPath(3w), EndPath(3w), AbortPath(3w), CloseFigure(3w), GetPath(3w), FillPath(3w), SelectClipPath(3w)