CD2DPointF Class
A wrapper for D2D1_POINT_2F
.
class CD2DPointF : public D2D1_POINT_2F;
Name | Description |
---|---|
CD2DPointF::CD2DPointF | Overloaded. Constructs a CD2DPointF object from D2D1_POINT_2F object. |
Name | Description |
---|---|
CD2DPointF::operator CPoint | Converts CD2DPointF to CPoint object. |
D2D1_POINT_2F
CD2DPointF
Header: afxrendertarget.h
Constructs a CD2DPointF object from CPoint object.
CD2DPointF(const CPoint& pt);
CD2DPointF(const D2D1_POINT_2F& pt);
CD2DPointF(const D2D1_POINT_2F* pt);
CD2DPointF(FLOAT fX = 0., FLOAT fY = 0.);
pt
source point
fX
source X
fY
source Y
Converts CD2DPointF to CPoint object.
operator CPoint();
Current value of D2D point.