2D (width,height) size structure - Integer More...
#include <size.h>
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 > ©) | |
![]() | |
Sizex () | |
Constructs a size structure. More... | |
Sizex (int width, int height) | |
Constructs a size structure. More... | |
Sizex (const Sizex< int > &s) | |
Constructs a size structure. More... | |
operator Vec2< int > () const | |
bool | operator!= (const Sizex< int > &s) const |
Size != Size operator (deep compare). More... | |
Sizex< int > | operator* (const int &s) const |
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) |
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) |
Size -= 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) |
Size /= operator. More... | |
bool | operator== (const Sizex< int > &s) const |
Size == Size operator (deep compare). More... | |
Additional Inherited Members | |
![]() | |
int | height |
Size height. More... | |
int | width |
Size width. More... | |
2D (width,height) size structure - Integer
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineexplicit |
|
inlineexplicit |