| title | CD2DSizeF 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 | f486a1e1-997d-4286-8cb9-26369dc82055 | |||||||||||||
| caps.latest.revision | 18 | |||||||||||||
| author | mikeblome | |||||||||||||
| ms.author | mblome | |||||||||||||
| manager | ghogen | |||||||||||||
| translation.priority.ht |
|
A wrapper for D2D1_SIZE_F.
class CD2DSizeF : public D2D1_SIZE_F;
| Name | Description |
|---|---|
| CD2DSizeF::CD2DSizeF | Overloaded. Constructs a CD2DSizeF object from D2D1_SIZE_F object. |
| Name | Description |
|---|---|
| CD2DSizeF::IsNull | Returns a boolean value that indicates whether an expression contains no valid data ( null). |
| Name | Description |
|---|---|
| CD2DSizeF::operator CSize | Converts CD2DSizeF to CSize object. |
D2D1_SIZE_F
Header: afxrendertarget.h
Constructs a CD2DSizeF object from CSize object.
CD2DSizeF(const CSize& size);
CD2DSizeF(const D2D1_SIZE_F& size);
CD2DSizeF(const D2D1_SIZE_F* size);
CD2DSizeF(
FLOAT cx = 0.,
FLOAT 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 CD2DSizeF to CSize object.
operator CSize();
Current value of D2D size.