| title | CD2DSizeU 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 | 6e679ba8-2112-43c3-8275-70b660856f02 | |||||||||||||
| caps.latest.revision | 18 | |||||||||||||
| author | mikeblome | |||||||||||||
| ms.author | mblome | |||||||||||||
| manager | ghogen | |||||||||||||
| translation.priority.ht |
|
A wrapper for D2D1_SIZE_U.
class CD2DSizeU : public D2D1_SIZE_U;
| Name | Description |
|---|---|
| CD2DSizeU::CD2DSizeU | Overloaded. Constructs a CD2DSizeU object from D2D1_SIZE_U object. |
| Name | Description |
|---|---|
| CD2DSizeU::IsNull | Returns a boolean value that indicates whether an expression contains no valid data ( null). |
| Name | Description |
|---|---|
| CD2DSizeU::operator CSize | Converts CD2DSizeU to CSize object. |
D2D1_SIZE_U
Header: afxrendertarget.h
Constructs a CD2DSizeU object from CSize object.
CD2DSizeU(const CSize& size);
CD2DSizeU(const D2D1_SIZE_U& size);
CD2DSizeU(const D2D1_SIZE_U* size);
CD2DSizeU(
UINT32 cx = 0,
UINT32 cy = 0);
size
source size
cx
source width
cy
source height
Returns a Boolean value that indicates whether an expression contains no valid data (Null).
BOOL IsNull() const;
TRUE if width and height are empty; otherwise FALSE.
Converts CD2DSizeU to CSize object.
operator CSize();
Current value of D2D size.