CD2DSizeU Class
A wrapper for D2D1_SIZE_U.
Syntax
class CD2DSizeU : public D2D1_SIZE_U;
Members
Public Constructors
Name | Description |
---|---|
CD2DSizeU::CD2DSizeU | Overloaded. Constructs a CD2DSizeU object from D2D1_SIZE_U object. |
Public Methods
Name | Description |
---|---|
CD2DSizeU::IsNull | Returns a boolean value that indicates whether an expression contains no valid data (NULL). |
Public Operators
Name | Description |
---|---|
CD2DSizeU::operator CSize | Converts CD2DSizeU to CSize object. |
Inheritance Hierarchy
D2D1_SIZE_U
Requirements
Header: afxrendertarget.h
CD2DSizeU::CD2DSizeU
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);
Parameters
size
source size
cx
source width
cy
source height
CD2DSizeU::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.
CD2DSizeU::operator CSize
Converts CD2DSizeU to CSize object.
operator CSize();
Return Value
Current value of D2D size.
See also
Feedback
https://aka.ms/ContentUserFeedback.
În curând: Pe parcursul anului 2024, vom elimina treptat Probleme legate de GitHub ca mecanism de feedback pentru conținut și îl vom înlocui cu un nou sistem de feedback. Pentru mai multe informații, consultați:Trimiteți și vizualizați feedback pentru