CD2DPointU Class
The latest version of this topic can be found at CD2DPointU Class.
A wrapper for D2D1_POINT_2U
.
Syntax
class CD2DPointU : public D2D1_POINT_2U;
Members
Public Constructors
Name | Description |
---|---|
CD2DPointU::CD2DPointU | Overloaded. Constructs a CD2DPointU from object D2D1_POINT_2U object. |
Public Operators
Name | Description |
---|---|
CD2DPointU::operator CPoint | Converts CD2DPointU to CPoint object. |
Inheritance Hierarchy
D2D1_POINT_2U
Requirements
Header: afxrendertarget.h
CD2DPointU::CD2DPointU
Constructs a CD2DPointU object from CPoint object.
CD2DPointU(const CPoint& pt);
CD2DPointU(const D2D1_POINT_2U& pt);
CD2DPointU(const D2D1_POINT_2U* pt);
CD2DPointU(UINT32 uX = 0, UINT32 uY = 0);
```
### Parameters
`pt`
source point
`uX`
source X
`uY`
source Y
## <a name="cd2dpointu__operator_cpoint"></a> CD2DPointU::operator CPoint
Converts CD2DPointU to CPoint object.
operator CPoint();
### Return Value
Current value of D2D point.
## See Also
[Classes](../Topic/MFC%20Classes.md)