CD2DPointU 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 CD2DPointU Class.
A wrapper for D2D1_POINT_2U.
class CD2DPointU : public D2D1_POINT_2U;
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. |
D2D1_POINT_2U
Header: afxrendertarget.h
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)
Show: