2D (width,height) size structure - Integer More...
#include <size.h>
Inheritance diagram for clan::Size: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) | |
Public Member Functions inherited from clan::Sizex< int > | |
| Sizex () | |
| Constructs a size structure. | |
| Sizex (const Sizex< int > &s) | |
| Constructs a size structure. | |
| 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 | |
Public Attributes inherited from clan::Sizex< int > | |
| int | height |
| Size height. | |
| int | width |
| Size width. | |
2D (width,height) size structure - Integer
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineexplicit |
References clan::Sizex< int >::height, and clan::Sizex< int >::width.
|
inlineexplicit |
References clan::Sizex< int >::height, and clan::Sizex< int >::width.