Skip to content

Latest commit

 

History

History
108 lines (71 loc) · 2.1 KB

cd2drectu-class.md

File metadata and controls

108 lines (71 loc) · 2.1 KB
descriptiontitlems.datef1_keywordshelpviewer_keywordsms.assetid
Learn more about: CD2DRectU Class
CD2DRectU Class
11/04/2016
CD2DRectU
AFXRENDERTARGET/CD2DRectU
AFXRENDERTARGET/CD2DRectU::CD2DRectU
AFXRENDERTARGET/CD2DRectU::IsNull
CD2DRectU [MFC], CD2DRectU
CD2DRectU [MFC], IsNull
a62f17d1-011d-4867-8f51-fd7e7c00561d

CD2DRectU Class

A wrapper for D2D1_RECT_U.

Syntax

class CD2DRectU : public D2D1_RECT_U; 

Members

Public Constructors

NameDescription
CD2DRectU::CD2DRectUOverloaded. Constructs a CD2DRectU object from D2D1_RECT_U object.

Public Methods

NameDescription
CD2DRectU::IsNullReturns a boolean value that indicates whether an expression contains no valid data (NULL).

Public Operators

NameDescription
CD2DRectU::operator CRectConverts CD2DRectU to CRect object.

Inheritance Hierarchy

D2D1_RECT_U

CD2DRectU

Requirements

Header: afxrendertarget.h

CD2DRectU::CD2DRectU

Constructs a CD2DRectU object from CRect object.

CD2DRectU(const CRect& rect); CD2DRectU(const D2D1_RECT_U& rect); CD2DRectU(const D2D1_RECT_U* rect); CD2DRectU( UINT32 uLeft = 0, UINT32 uTop = 0, UINT32 uRight = 0, UINT32 uBottom = 0); 

Parameters

rect
source rectangle

uLeft
source left coordinate

uTop
source top coordinate

uRight
source right coordinate

uBottom
source bottom coordinate

CD2DRectU::IsNull

Returns a Boolean value that indicates whether an expression contains no valid data (Null).

BOOL IsNull() const; 

Return Value

TRUE if rectangle's top, left, bottom, and right values are all equal to 0; otherwise FALSE.

CD2DRectU::operator CRect

Converts CD2DRectU to CRect object.

operator CRect(); 

Return Value

Current value of D2D rectangle.

See also

Classes

close