xtd 0.2.0
Loading...
Searching...
No Matches

◆ get_hrgn()

intptr xtd::drawing::region::get_hrgn ( const xtd::drawing::graphics g) const
noexcept

Returns a Windows handle to this xtd::drawing::region in the specified graphics context.

Parameters
gThe xtd::drawing::graphics on which this xtd::drawing::region is drawn.
Returns
A Windows handle to this xtd::drawing::region.
Remarks
You are responsible for calling the xtd::region::release_hrgn method to free the memory used by the GDI region object.