# Regions user defined functions Reference

Below is a complete list of the user defined functions available in AutoIt. Click on a user defined function name for a detailed description.

When using them you need to add a #include <WinAPIGdi.au3>.

User Defined Function | Description
--- | ---
_WinAPI_CombineRgn | Combines two regions and stores the result in a third region
_WinAPI_CreateEllipticRgn | Creates an elliptical region
_WinAPI_CreateNullRgn | Creates an empty region
_WinAPI_CreatePolygonRgn | Creates a polygonal region
_WinAPI_CreateRectRgn | Creates a rectangular region
_WinAPI_CreateRectRgnIndirect | Creates a rectangular region
_WinAPI_CreateRoundRectRgn | Creates a rectangular region with rounded corners
_WinAPI_EqualRgn | Checks the two specified regions to determine whether they are identical
_WinAPI_ExtCreateRegion | Creates a region from the specified region and transformation data
_WinAPI_FillRgn | Fills a region by using the specified brush
_WinAPI_FrameRgn | Draws a border around the specified region by using the specified brush
_WinAPI_GetPolyFillMode | Retrieves the current polygon fill mode
_WinAPI_GetRegionData | Fills the specified buffer with data describing a region
_WinAPI_GetRgnBox | Retrieves the bounding rectangle of the specified region
_WinAPI_GetWindowRgn | Obtains a copy of the window region of a window
_WinAPI_InvertRgn | Inverts the colors in the specified region
_WinAPI_OffsetRgn | Moves a region by the specified offsets
_WinAPI_PaintRgn | Paints the specified region by using the brush currently selected into the device context
_WinAPI_PtInRegion | Determines whether the specified point is inside the specified region
_WinAPI_RectInRegion | Determines whether any part of the specified rectangle is within the boundaries of a region
_WinAPI_RedrawWindow | Updates the specified rectangle or region in a window's client area
_WinAPI_SetPolyFillMode | Sets the polygon fill mode for functions that fill polygons
_WinAPI_SetRectRgn | Converts a region into a rectangular region with the specified coordinates
_WinAPI_SetWindowRgn | Sets the window region of a window