# Rectangle 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_CopyRect | Copies the coordinates of one rectangle to another
_WinAPI_DrawFocusRect | Draws a rectangle in the style used to indicate that the rectangle has the focus
_WinAPI_EqualRect | Determines whether the two specified rectangles are equal
_WinAPI_InflateRect | Increases or decreases the width and height of the specified rectangle
_WinAPI_IntersectRect | Creates the intersection of two rectangles
_WinAPI_IsRectEmpty | Determines whether the specified rectangle is empty
_WinAPI_OffsetRect | Moves the specified rectangle by the specified offsets
_WinAPI_PtInRect | Determines whether the specified point lies within the specified rectangle
_WinAPI_PtInRectEx | Determines whether the specified point lies within the specified rectangle
_WinAPI_RectIsEmpty | Determins whether a rectangle is empty
_WinAPI_SubtractRect | Determines the coordinates of a rectangle formed by subtracting one rectangle from another
_WinAPI_UnionRect | Creates the union of two rectangles