CD2DSizeF Class
A wrapper for D2D1_SIZE_F.
Syntax
class CD2DSizeF : public D2D1_SIZE_F;
Members
Public Constructors
Name | Description |
---|---|
CD2DSizeF::CD2DSizeF | Overloaded. Constructs a CD2DSizeF object from D2D1_SIZE_F object. |
Public Methods
Name | Description |
---|---|
CD2DSizeF::IsNull | Returns a boolean value that indicates whether an expression contains no valid data (NULL). |
Public Operators
Name | Description |
---|---|
CD2DSizeF::operator CSize | Converts CD2DSizeF to CSize object. |
Inheritance Hierarchy
D2D1_SIZE_F
Requirements
Header: afxrendertarget.h
CD2DSizeF::CD2DSizeF
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.);
Parameters
size
source size
cx
source width
cy
source height
CD2DSizeF::IsNull
Returns a Boolean value that indicates whether an expression contains no valid data (Null).
BOOL IsNull() const;
Return Value
TRUE if width and height are empty; otherwise FALSE.
CD2DSizeF::operator CSize
Converts CD2DSizeF to CSize object.
operator CSize();
Return Value
Current value of D2D size.