#include <gfx_basictypes.h>
Definition of a rectangle used for window/draw operations.
Public Member Functions | |
| 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 () | |
| String | ToString (const FormatStatement *formatStatement) const | 
| MAXON_OPERATOR_EQUALITY_HASHCODE (DrawRect, position, size) | |
Static Public Member Functions | |
| 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 | ( | ) | 
| String ToString | ( | const FormatStatement * | formatStatement | ) | const | 
Returns a readable string of the content.
| [in] | formatStatement | Nullptr or additional formatting instruction. Currently no additional formatting instructions are supported. | 
      
  | 
  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 |