| description | Learn more about: CD2DSizeF Class | ||||
|---|---|---|---|---|---|
| title | CD2DSizeF Class | ||||
| ms.date | 08/29/2019 | ||||
| f1_keywords |
|
||||
| helpviewer_keywords |
|
||||
| ms.assetid | f486a1e1-997d-4286-8cb9-26369dc82055 |
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.