ID2D1RenderTarget::FillEllipse(constD2D1_ELLIPSE&,ID2D1Brush*) method (d2d1.h)

Paints the interior of the specified ellipse.

Syntax

void FillEllipse(
  const D2D1_ELLIPSE & ellipse,
  ID2D1Brush           *brush
);

Parameters

ellipse

Type: [in] const D2D1_ELLIPSE &

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

brush

Type: [in] ID2D1Brush*

The brush used to paint the interior of the ellipse.

Return value

None

Remarks

This method doesn't return an error code if it fails. To determine whether a drawing operation (such as FillEllipse) failed, check the result returned by the ID2D1RenderTarget::EndDraw or ID2D1RenderTarget::Flush methods.

Examples

For an example, see How to Draw and Fill a Basic Shape.

Requirements

Requirement Value
Minimum supported client Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | UWP apps]
Target Platform Windows
Header d2d1.h
Library D2d1.lib
DLL D2d1.dll

See also

How to Draw and Fill a Basic Shape

ID2D1RenderTarget