Contents
|
Python for Win32 Extensions Help
>
Win32 API
>
Modules
>
win32gui
>
PathToRegion
win32gui
.PathToRegion
PyGdiHANDLE
=
PathToRegion(
hdc
)
Converts a closed path in a DC to a region
Parameters
hdc
:
PyHANDLE
Handle to a device context that contains a closed path. See
win32gui::EndPath
.
Comments
On success, the path is deselected from the DC