2D (width,height) size structure - Float More...
#include <size.h>
Public Member Functions | |
CL_Sizef () | |
CL_Sizef (const CL_Sizex< double > ©) | |
CL_Sizef (const CL_Sizex< int > ©) | |
CL_Sizef (const CL_Sizex< float > &s) | |
CL_Sizef (float width, float height) | |
Operations | |
CL_Sizex< float > & | operator+= (const CL_Sizex< float > &s) |
Size += Size operator. | |
CL_Sizex< float > & | operator+= (const float &s) |
Size += operator. | |
CL_Sizex< float > & | operator-= (const CL_Sizex< float > &s) |
Size -= Size operator. | |
CL_Sizex< float > & | operator-= (const float &s) |
Size -= operator. | |
CL_Sizex< float > | operator+ (const CL_Sizex< float > &s) const |
Size + Size operator. | |
CL_Sizex< float > | operator+ (const float &s) const |
Size + operator. | |
CL_Sizex< float > | operator- (const CL_Sizex< float > &s) const |
Size - Size operator. | |
CL_Sizex< float > | operator- (const float &s) const |
Size - operator. | |
CL_Sizex< float > & | operator*= (const float &s) |
Size *= operator. | |
CL_Sizex< float > & | operator/= (const float &s) |
Size /= operator. | |
CL_Sizex< float > | operator* (const float &s) const |
Size * operator. | |
CL_Sizex< float > | operator/ (const float &s) const |
Size / operator. | |
bool | operator== (const CL_Sizex< float > &s) const |
Size == Size operator (deep compare). | |
bool | operator!= (const CL_Sizex< float > &s) const |
Size != Size operator (deep compare). | |
Public Attributes | |
Attributes | |
float | width |
Size width. | |
float | height |
Size height. |
2D (width,height) size structure - Float
CL_Sizef::CL_Sizef | ( | ) | [inline] |
CL_Sizef::CL_Sizef | ( | float | width, | |
float | height | |||
) | [inline] |
CL_Sizef::CL_Sizef | ( | const CL_Sizex< float > & | s | ) | [inline] |
CL_Sizef::CL_Sizef | ( | const CL_Sizex< int > & | copy | ) | [inline] |
CL_Sizef::CL_Sizef | ( | const CL_Sizex< double > & | copy | ) | [inline, explicit] |
Size != Size operator (deep compare).
Size * operator.
Size *= operator.
CL_Sizex<float > CL_Sizex< float >::operator+ | ( | const CL_Sizex< float > & | s | ) | const [inline, inherited] |
Size + Size operator.
Size + operator.
Size += Size operator.
Size += operator.
Size - operator.
CL_Sizex<float > CL_Sizex< float >::operator- | ( | const CL_Sizex< float > & | s | ) | const [inline, inherited] |
Size - Size operator.
Size -= operator.
Size -= Size operator.
Size / operator.
Size /= operator.
Size == Size operator (deep compare).
Size height.
Referenced by CL_Sizef().
Size width.
Referenced by CL_Sizef().