Skip to content

Latest commit

 

History

History
79 lines (52 loc) · 1.44 KB

cd2dpointu-class.md

File metadata and controls

79 lines (52 loc) · 1.44 KB
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: CD2DPointU Class
CD2DPointU Class
08/29/2019
CD2DPointU
AFXRENDERTARGET/CD2DPointU
AFXRENDERTARGET/CD2DPointU::CD2DPointU
CD2DPointU [MFC], CD2DPointU
04733f96-b6de-4a89-82e3-caad1e8087a9

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

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