CD2DPointF 類別

D2D1_POINT_2F的包裝函式。

語法

class CD2DPointF : public D2D1_POINT_2F;

成員

公用建構函式

名稱 描述
CD2DPointF::CD2DPointF 已多載。 CD2DPointFD2D1_POINT_2F 物件建構物件。

公用運算子

名稱 描述
CD2DPointF::operator CPoint 轉換成 CD2DPointF CPoint 物件。

繼承階層架構

D2D1_POINT_2F

CD2DPointF

需求

標頭: afxrendertarget.h

CD2DPointF::CD2DPointF

從 CPoint 物件建構 CD2DPointF 物件。

CD2DPointF(const CPoint& pt);
CD2DPointF(const D2D1_POINT_2F& pt);
CD2DPointF(const D2D1_POINT_2F* pt);
CD2DPointF(FLOAT fX = 0., FLOAT fY = 0.);

參數

pt
來源點

外匯
來源 X

fY
來源 Y

CD2DPointF::operator CPoint

將CD2DPointF轉換為 CPoint 物件。

operator CPoint();

傳回值

D2D 點的目前值。

另請參閱

類別