Udostępnij za pośrednictwem


CD2DEllipse Class

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at 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