CRenderTarget::DrawEllipse

Draws the outline of the specified ellipse using the specified stroke style.

void DrawEllipse(
   const CD2DEllipse& ellipse,
   CD2DBrush* pBrush,
   FLOAT fStrokeWidth = 1.0,
   ID2D1StrokeStyle* strokeStyle = NULL
);

Parameters

  • ellipse
    The position and radius of the ellipse to draw, in device-independent pixels.

  • pBrush
    The brush used to paint the ellipse's outline.

  • fStrokeWidth
    The thickness of the ellipse's stroke. The stroke is centered on the ellipse's outline.

  • strokeStyle
    The style of stroke to apply to the ellipse's outline, or NULL to paint a solid stroke.

Requirements

Header: afxrendertarget.h

See Also

Reference

CRenderTarget Class