BOOL CreateEllipticRgnIndirect( LPCRECT lpRect );
Return Value
Nonzero if the operation succeeded; otherwise 0.
Parameters
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.
Remarks
Creates an elliptical region. 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.
CRgn Overview | Class Members | Hierarchy Chart
See Also CRgn::CreateEllipticRgn, ::CreateEllipticRgnIndirect