| title | CD2DRectU Class | Microsoft Docs | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ms.custom | ||||||||||||||
| ms.date | 11/04/2016 | |||||||||||||
| ms.reviewer | ||||||||||||||
| ms.suite | ||||||||||||||
| ms.technology |
|
|||||||||||||
| ms.tgt_pltfrm | ||||||||||||||
| ms.topic | reference | |||||||||||||
| f1_keywords |
|
|||||||||||||
| dev_langs |
|
|||||||||||||
| helpviewer_keywords |
|
|||||||||||||
| ms.assetid | a62f17d1-011d-4867-8f51-fd7e7c00561d | |||||||||||||
| caps.latest.revision | 18 | |||||||||||||
| author | mikeblome | |||||||||||||
| ms.author | mblome | |||||||||||||
| manager | ghogen | |||||||||||||
| translation.priority.ht |
|
A wrapper for D2D1_RECT_U.
class CD2DRectU : public D2D1_RECT_U;
| Name | Description |
|---|---|
| CD2DRectU::CD2DRectU | Overloaded. Constructs a CD2DRectU object from D2D1_RECT_U object. |
| Name | Description |
|---|---|
| CD2DRectU::IsNull | Returns a boolean value that indicates whether an expression contains no valid data ( null). |
| Name | Description |
|---|---|
| CD2DRectU::operator CRect | Converts CD2DRectU to CRect object. |
D2D1_RECT_U
CD2DRectU
Header: afxrendertarget.h
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);
rect
source rectangle
uLeft
source left coordinate
uTop
source top coordinate
uRight
source right coordinate
uBottom
source bottom coordinate
Returns a Boolean value that indicates whether an expression contains no valid data (Null).
BOOL IsNull() const;
TRUE if rectangle's top, left, bottom, and right values are all equal to 0; otherwise FALSE.
Converts CD2DRectU to CRect object.
operator CRect();
Current value of D2D rectangle.