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