Creates an elliptical region
#include <WinAPIGdi.au3>
_WinAPI_CreateEllipticRgn ( $tRECT )
$tRECT | $tagRECT structure that contains the coordinates of the upper-left and lower-right corners of the bounding rectangle of the ellipse in logical units. |
Success: | The handle to the region. |
Failure: | 0. |
A bounding rectangle defines the size, shape, and orientation of the region: The long sides of the rectangle define the length of the ellipse's major axis; the short sides define the length of the ellipse's minor axis; and the center of the rectangle defines the intersection of the major and minor axes.
When you no longer need the HRGN object, call the _WinAPI_DeleteObject() function to delete it.
Search CreateEllipticRgnIndirect in MSDN Library.