RegionScope
struct RegionScope
Helper to scope creating regions. Deletes the region when disposed.
Returns true if this represents a null HRGN.
Creates a region with the given rectangle via CreateRectRgn.
Creates a region with the given rectangle via CreateRectRgn.
Creates a clipping region copy via GetClipRgn for the given device context.
Creates a region scope with the given HRGN.
Clears the handle. Use this to hand over ownership to another entity.