#include <gfx_basictypes.h>
Size of a window/drawing operation.
Public Member Functions | |
| DrawDimension () | |
| DrawDimension (T w, T h) | |
| MAXON_IMPLICIT | DrawDimension (const Vec2< T, 1 > &src) |
| String | ToString (const FormatStatement *formatStatement=nullptr) const |
| MAXON_OPERATOR_EQUALITY_HASHCODE (DrawDimension, width, height) | |
Static Public Member Functions | |
| static Result< void > | DescribeIO (const DataSerializeInterface &stream) |
Public Attributes | |
| T | width |
| T | height |
| DrawDimension | ( | ) |
| DrawDimension | ( | T | w, |
| T | h | ||
| ) |
| MAXON_IMPLICIT DrawDimension | ( | const Vec2< T, 1 > & | src | ) |
| String ToString | ( | const FormatStatement * | formatStatement = nullptr | ) | const |
Returns a readable string of the content.
| [in] | formatStatement | Nullptr or additional formatting instruction. Currently no additional formatting instructions are supported. |
| MAXON_OPERATOR_EQUALITY_HASHCODE | ( | DrawDimension< T > | , |
| width | , | ||
| height | |||
| ) |
|
static |
Describe all elements of this class for I/O operations.
| [in] | stream | The stream that is used to register the class members. |
| T width |
| T height |