2D (width,height) size structure - Integer More...
#include <size.h>
Public Member Functions | |
Size () | |
Size (const Sizex< double > ©) | |
Size (const Sizex< float > ©) | |
Size (const Sizex< int > &s) | |
Size (const Vec2< int > &s) | |
Size (int width, int height) | |
![]() | |
Sizex () | |
Constructs a size structure. | |
Sizex (const Sizex< int > &s)=default | |
Constructs a size structure. | |
Sizex (const Sizex< OtherType > ©) | |
Sizex (const Sizex< OtherType > ©) | |
Sizex (int width, int height) | |
Constructs a size structure. | |
operator Vec2< int > () const | |
bool | operator!= (const Sizex< int > &s) const |
Size != Size operator (deep compare). | |
Sizex< int > | operator* (const int &s) const |
Size * operator. | |
Sizex< int > & | operator*= (const int &s) |
Size *= operator. | |
Sizex< int > | operator+ (const int &s) const |
Size + operator. | |
Sizex< int > | operator+ (const Sizex< int > &s) const |
Size + Size operator. | |
Sizex< int > & | operator+= (const int &s) |
Size += operator. | |
Sizex< int > & | operator+= (const Sizex< int > &s) |
Size += Size operator. | |
Sizex< int > | operator- (const int &s) const |
Size - operator. | |
Sizex< int > | operator- (const Sizex< int > &s) const |
Size - Size operator. | |
Sizex< int > & | operator-= (const int &s) |
Size -= operator. | |
Sizex< int > & | operator-= (const Sizex< int > &s) |
Size -= Size operator. | |
Sizex< int > | operator/ (const int &s) const |
Size / operator. | |
Sizex< int > & | operator/= (const int &s) |
Size /= operator. | |
bool | operator== (const Sizex< int > &s) const |
Size == Size operator (deep compare). | |
Additional Inherited Members | |
![]() | |
int | height |
Size height. | |
int | width |
Size width. | |
2D (width,height) size structure - Integer
|
inline |
References clan::Sizex< int >::Sizex().
|
inline |
References clan::Sizex< int >::Sizex(), clan::Sizex< int >::height, and clan::Sizex< int >::width.
|
inline |
References clan::Sizex< int >::Sizex(), and clan::s.
|
inline |
References clan::Sizex< int >::Sizex(), clan::s, clan::x, and clan::y.
|
inlineexplicit |
References clan::Sizex< int >::Sizex(), clan::Sizex< int >::height, and clan::Sizex< int >::width.
|
inlineexplicit |
References clan::Sizex< int >::Sizex(), clan::Sizex< int >::height, and clan::Sizex< int >::width.