संपादित करें

इसके माध्यम से साझा किया गया


CD2DPointU Class

Note

The Microsoft Foundation Classes (MFC) library continues to be supported. However, we're no longer adding features or updating the documentation.

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

CD2DPointU

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

CD2DPointU::operator CPoint

Converts CD2DPointU to CPoint object.

operator CPoint();

Return Value

Current value of D2D point.

See also

Classes