#include <gfx_basictypes.h>
Definition of a rectangle used for window/draw operations.
公共成员函数 |
|
DrawRect ( Vec2 < T, 1 > positionValue, DrawDimension < T > sizeValue) | |
DrawRect (T x, T y, T w, T h) | |
MAXON_IMPLICIT | DrawRect (const Range < Vec2 < T, 1 >> & src ) |
DrawRect () | |
Bool | Contains (const Vec2 < T, 1 > &point) const |
String | ToString (const FormatStatement *formatStatement=nullptr) const |
MAXON_OPERATOR_EQUALITY_HASHCODE ( DrawRect , position , size ) |
静态公共成员函数 |
|
static Result < void > | DescribeIO (const DataSerializeInterface &stream) |
Public Attributes |
|
Vec2 < T, 1 > | position |
DrawDimension < T > | size |
DrawRect | ( | Vec2 < T, 1 > | positionValue , |
DrawDimension < T > | sizeValue | ||
) |
DrawRect | ( | T | x , |
T | y , | ||
T | w , | ||
T | h | ||
) |
MAXON_IMPLICIT DrawRect | ( | const Range < Vec2 < T, 1 >> & | src | ) |
DrawRect | ( | ) |
Bool Contains | ( | const Vec2 < T, 1 > & | point | ) | const |
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 | ( | DrawRect < T > | , |
position | , | ||
size | |||
) |
|
static |
Describe all elements of this class for I/O operations.
[in] | stream | The stream that is used to register the class members. |
Vec2 <T,1> position |
DrawDimension <T> size |