Partager via


CD2DEllipse::CD2DEllipse

Constructs a CD2DEllipse object from CD2DRectF object.

CD2DEllipse(
   const CD2DRectF& rect
);
CD2DEllipse(
   const D2D1_ELLIPSE& ellipse
);
CD2DEllipse(
   const D2D1_ELLIPSE* ellipse
);
CD2DEllipse(
   const CD2DPointF& ptCenter,
   const CD2DSizeF& sizeRadius
);

Parameters

  • rect
    source rectangle

  • ellipse
    source ellipse

  • ptCenter
    The center point of the ellipse.

  • sizeRadius
    The X-radius and Y-radius of the ellipse.

Requirements

Header: afxrendertarget.h

See Also

Reference

CD2DEllipse Class