共用方式為


CD2DEllipse 類別

D2D1_ELLIPSE的包裝函式。

語法

class CD2DEllipse : public D2D1_ELLIPSE;

成員

公用建構函式

名稱 描述
CD2DEllipse::CD2DEllipse 已多載。 CD2DEllipseD2D1_ELLIPSE 物件建構 物件。

繼承階層架構

D2D1_ELLIPSE

CD2DEllipse

需求

標頭: afxrendertarget.h

CD2DEllipse::CD2DEllipse

從 CD2DRectF 物件建構 CD2DEllipse 物件。

CD2DEllipse(const CD2DRectF& rect);
CD2DEllipse(const D2D1_ELLIPSE& ellipse);
CD2DEllipse(const D2D1_ELLIPSE* ellipse);

CD2DEllipse(
    const CD2DPointF& ptCenter,
    const CD2DSizeF& sizeRadius);

參數

矩形
來源矩形

橢圓
來源省略號

ptCenter
橢圓形的中心點。

sizeRadius
橢圓形的 X 半徑和 Y 半徑。

另請參閱

類別