CD2DPointF Class
Visual Studio 2015
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 CD2DPointF Class.
A wrapper for D2D1_POINT_2F.
class CD2DPointF : public D2D1_POINT_2F;
Public Constructors
| Name | Description |
|---|---|
| CD2DPointF::CD2DPointF | Overloaded. Constructs a CD2DPointF object from D2D1_POINT_2F object. |
Public Operators
| Name | Description |
|---|---|
| CD2DPointF::operator CPoint | Converts CD2DPointF to CPoint object. |
D2D1_POINT_2F
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.);
Parameters
pt
source point
fX
source X
fY
source Y
Converts CD2DPointF to CPoint object.
operator CPoint();
Return Value
Current value of D2D point.
Show: