D2D1_POINT_2U的包裝函式。
語法
class CD2DPointU : public D2D1_POINT_2U;
成員
公用建構函式
| 名稱 | 描述 |
|---|---|
| CD2DPointU::CD2DPointU | 已多載。 CD2DPointU從物件物件D2D1_POINT_2U建構 。 |
公用運算子
| 名稱 | 描述 |
|---|---|
| CD2DPointU::operator CPoint | 轉換成 CD2DPointU CPoint 物件。 |
繼承階層架構
D2D1_POINT_2U
CD2DPointU
需求
標頭: afxrendertarget.h
CD2DPointU::CD2DPointU
從 CPoint 物件建構 CD2DPointU 物件。
CD2DPointU(const CPoint& pt);
CD2DPointU(const D2D1_POINT_2U& pt);
CD2DPointU(const D2D1_POINT_2U* pt);
CD2DPointU(UINT32 uX = 0, UINT32 uY = 0);
參數
pt
來源點
uX
來源 X
uY
來源 Y
CD2DPointU::operator CPoint
將 CD2DPointU 轉換為 CPoint 物件。
operator CPoint();
傳回值
D2D 點的目前值。