ClanLib
2.3.7
|
2D (width,height) size structure - Integer More...
#include <size.h>
Public Member Functions | |
CL_Size () | |
CL_Size (int width, int height) | |
CL_Size (const CL_Sizex< int > &s) | |
CL_Size (const CL_Sizex< float > ©) | |
CL_Size (const CL_Sizex< double > ©) | |
Operations | |
CL_Sizex< int > & | operator+= (const CL_Sizex< int > &s) |
Size += Size operator. More... | |
CL_Sizex< int > & | operator+= (const int &s) |
Size += operator. More... | |
CL_Sizex< int > & | operator-= (const CL_Sizex< int > &s) |
Size -= Size operator. More... | |
CL_Sizex< int > & | operator-= (const int &s) |
Size -= operator. More... | |
CL_Sizex< int > | operator+ (const CL_Sizex< int > &s) const |
Size + Size operator. More... | |
CL_Sizex< int > | operator+ (const int &s) const |
Size + operator. More... | |
CL_Sizex< int > | operator- (const CL_Sizex< int > &s) const |
Size - Size operator. More... | |
CL_Sizex< int > | operator- (const int &s) const |
Size - operator. More... | |
CL_Sizex< int > & | operator*= (const int &s) |
Size *= operator. More... | |
CL_Sizex< int > & | operator/= (const int &s) |
Size /= operator. More... | |
CL_Sizex< int > | operator* (const int &s) const |
Size * operator. More... | |
CL_Sizex< int > | operator/ (const int &s) const |
Size / operator. More... | |
bool | operator== (const CL_Sizex< int > &s) const |
Size == Size operator (deep compare). More... | |
bool | operator!= (const CL_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
|
inline |
|
inline |
|
inline |
|
inlineexplicit |
|
inlineexplicit |
Size != Size operator (deep compare).
References CL_Sizex< Type >::height, and CL_Sizex< Type >::width.
Size + Size operator.
References CL_Sizex< Type >::height, and CL_Sizex< Type >::width.
Size += Size operator.
References CL_Sizex< Type >::height, and CL_Sizex< Type >::width.
Size - Size operator.
References CL_Sizex< Type >::height, and CL_Sizex< Type >::width.
Size -= Size operator.
References CL_Sizex< Type >::height, and CL_Sizex< Type >::width.
Size == Size operator (deep compare).
References CL_Sizex< Type >::height, and CL_Sizex< Type >::width.