MyGUI 3.4.3
|
#include <MyGUI_TRect.h>
Public Member Functions | |
TRect ()=default | |
TRect (T const &_left, T const &_top, T const &_right, T const &_bottom) | |
TRect & | operator-= (TRect const &_obj) |
TRect & | operator+= (TRect const &_obj) |
TRect | operator- (TRect const &_obj) const |
TRect | operator+ (TRect const &_obj) const |
template<typename U> | |
TRect & | operator= (TRect< U > const &_obj) |
bool | operator== (TRect const &_obj) const |
bool | operator!= (TRect const &_obj) const |
T | width () const |
T | height () const |
void | clear () |
void | set (T const &_left, T const &_top, T const &_right, T const &_bottom) |
void | swap (TRect &_value) |
bool | empty () const |
bool | inside (const TRect< T > &_value) const |
bool | intersect (const TRect< T > &_value) const |
bool | inside (const TPoint< T > &_value) const |
std::string | print () const |
Static Public Member Functions | |
static TRect< T > | parse (std::string_view _value) |
Data Fields | |
T | left {} |
T | top {} |
T | right {} |
T | bottom {} |
Friends | |
std::ostream & | operator<< (std::ostream &_stream, const TRect< T > &_value) |
std::istream & | operator>> (std::istream &_stream, TRect< T > &_value) |
Definition at line 17 of file MyGUI_TRect.h.
|
default |
|
inline |
Definition at line 26 of file MyGUI_TRect.h.
|
inline |
Definition at line 93 of file MyGUI_TRect.h.
|
inline |
Definition at line 113 of file MyGUI_TRect.h.
|
inline |
Definition at line 88 of file MyGUI_TRect.h.
|
inline |
Definition at line 130 of file MyGUI_TRect.h.
|
inline |
Definition at line 118 of file MyGUI_TRect.h.
|
inline |
Definition at line 124 of file MyGUI_TRect.h.
|
inline |
Definition at line 78 of file MyGUI_TRect.h.
|
inline |
Definition at line 58 of file MyGUI_TRect.h.
|
inline |
Definition at line 44 of file MyGUI_TRect.h.
|
inline |
Definition at line 53 of file MyGUI_TRect.h.
|
inline |
Definition at line 35 of file MyGUI_TRect.h.
|
inline |
Definition at line 64 of file MyGUI_TRect.h.
|
inline |
Definition at line 73 of file MyGUI_TRect.h.
|
inlinestatic |
Definition at line 142 of file MyGUI_TRect.h.
|
inline |
Definition at line 135 of file MyGUI_TRect.h.
|
inline |
Definition at line 98 of file MyGUI_TRect.h.
|
inline |
Definition at line 106 of file MyGUI_TRect.h.
|
inline |
Definition at line 83 of file MyGUI_TRect.h.
|
friend |
Definition at line 147 of file MyGUI_TRect.h.
|
friend |
Definition at line 153 of file MyGUI_TRect.h.
T MyGUI::types::TRect< T >::bottom {} |
Definition at line 22 of file MyGUI_TRect.h.
T MyGUI::types::TRect< T >::left {} |
Definition at line 19 of file MyGUI_TRect.h.
T MyGUI::types::TRect< T >::right {} |
Definition at line 21 of file MyGUI_TRect.h.
T MyGUI::types::TRect< T >::top {} |
Definition at line 20 of file MyGUI_TRect.h.