Edit

Share via


CD2DEllipse Class

A wrapper for D2D1_ELLIPSE.

Syntax

class CD2DEllipse : public D2D1_ELLIPSE;

Members

Public Constructors

Name Description
CD2DEllipse::CD2DEllipse Overloaded. Constructs a CD2DEllipse object from D2D1_ELLIPSE object.

Inheritance Hierarchy

D2D1_ELLIPSE

CD2DEllipse

Requirements

Header: afxrendertarget.h

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.

See also

Classes