CD2DPointF Class
The latest version of this topic can be found at CD2DPointF Class.
A wrapper for D2D1_POINT_2F
.
Syntax
class CD2DPointF : public D2D1_POINT_2F;
Members
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. |
Inheritance Hierarchy
D2D1_POINT_2F
Requirements
Header: afxrendertarget.h
CD2DPointF::CD2DPointF
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
CD2DPointF::operator CPoint
Converts CD2DPointF to CPoint object.
operator CPoint();
Return Value
Current value of D2D point.