Function Reference


_WinAPI_CreateEllipticRgn

Creates an elliptical region

#include <WinAPIGdi.au3>
_WinAPI_CreateEllipticRgn ( $tRECT )

Parameters

$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.

Return Value

Success: The handle to the region.
Failure: 0.

Remarks

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.

Related

_WinAPI_DeleteObject

See Also

Search CreateEllipticRgnIndirect in MSDN Library.