Condividi tramite


CDrawingManager::DrawEllipse

Draws an ellipse with the supplied fill and border colors.

void DrawEllipse(
   const CRect& rect,
   COLORREF clrFill,
   COLORREF clrLine
);

Parameters

  • [in] rect
    The bounding rectangle for the ellipse.

  • [in] clrFill
    The color this method uses to fill the ellipse.

  • [in] clrLine
    The color this method uses as the border of the ellipse.

Remarks

This method returns without drawing an ellipse if either color is set to -1. It also returns without drawing an ellipse if either dimension of the bounding rectangle is 0.

Requirements

Header: afxdrawmanager.h

See Also

Reference

CDrawingManager Class

Hierarchy Chart