Creates an elliptical region.
BOOL CreateEllipticRgnIndirect( LPCRECT lpRect );
- Points to a RECT structure or a CRect object that contains the logical coordinates of the upper-left and lower-right corners of the bounding rectangle of the ellipse.
Nonzero if the operation succeeded; otherwise 0.
The region is defined by the structure or object pointed to by lpRect and is stored in the CRgn object.
The size of a region is limited to 32,767 by 32,767 logical units or 64K of memory, whichever is smaller.
When it has finished using a region created with the CreateEllipticRgnIndirect function, an application should select the region out of the device context and use the DeleteObject function to remove it.
See the example for CRgn::CreateRectRgnIndirect.