2D (width,height) size structure - Integer More...
#include <size.h>
Inheritance diagram for clan::Size:Public Member Functions | |
| Size () | |
| Size (int width, int height) | |
| Size (const Sizex< int > &s) | |
| Size (const Vec2< int > &s) | |
| Size (const Sizex< float > ©) | |
| Size (const Sizex< double > ©) | |
Operations | |
| operator Vec2< int > () const | |
| Sizex< int > & | operator+= (const Sizex< int > &s) |
| Size += Size operator. More... | |
| Sizex< int > & | operator+= (const int &s) |
| Size += operator. More... | |
| Sizex< int > & | operator-= (const Sizex< int > &s) |
| Size -= Size operator. More... | |
| Sizex< int > & | operator-= (const int &s) |
| Size -= operator. More... | |
| Sizex< int > | operator+ (const Sizex< int > &s) const |
| Size + Size operator. More... | |
| Sizex< int > | operator+ (const int &s) const |
| Size + operator. More... | |
| Sizex< int > | operator- (const Sizex< int > &s) const |
| Size - Size operator. More... | |
| Sizex< int > | operator- (const int &s) const |
| Size - operator. More... | |
| Sizex< int > & | operator*= (const int &s) |
| Size *= operator. More... | |
| Sizex< int > & | operator/= (const int &s) |
| Size /= operator. More... | |
| Sizex< int > | operator* (const int &s) const |
| Size * operator. More... | |
| Sizex< int > | operator/ (const int &s) const |
| Size / operator. More... | |
| bool | operator== (const Sizex< int > &s) const |
| Size == Size operator (deep compare). More... | |
| bool | operator!= (const Sizex< int > &s) const |
| Size != Size operator (deep compare). More... | |
Public Attributes | |
Attributes | |
| int | width |
| Size width. More... | |
| int | height |
| Size height. More... | |
2D (width,height) size structure - Integer
|
inlineinherited |
|
inlineinherited |
Size != Size operator (deep compare).
References clan::Sizex< Type >::height, and clan::Sizex< Type >::width.
|
inlineinherited |
Size * operator.
|
inlineinherited |
Size *= operator.
|
inlineinherited |
Size + Size operator.
References clan::Sizex< Type >::height, and clan::Sizex< Type >::width.
|
inlineinherited |
Size + operator.
|
inlineinherited |
Size += Size operator.
References clan::Sizex< Type >::height, and clan::Sizex< Type >::width.
|
inlineinherited |
Size += operator.
|
inlineinherited |
Size - Size operator.
References clan::Sizex< Type >::height, and clan::Sizex< Type >::width.
|
inlineinherited |
Size - operator.
|
inlineinherited |
Size -= Size operator.
References clan::Sizex< Type >::height, and clan::Sizex< Type >::width.
|
inlineinherited |
Size -= operator.
|
inlineinherited |
Size / operator.
|
inlineinherited |
Size /= operator.
|
inlineinherited |
Size == Size operator (deep compare).
References clan::Sizex< Type >::height, and clan::Sizex< Type >::width.
|
inherited |
Size height.
Referenced by Size().
|
inherited |
Size width.
Referenced by Size().