ClanLib  2.3.7
Public Member Functions | List of all members
CL_Sizef Class Reference

2D (width,height) size structure - Float More...

#include <size.h>

Inheritance diagram for CL_Sizef:
Inheritance graph
[legend]

Public Member Functions

 CL_Sizef ()
 
 CL_Sizef (float width, float height)
 
 CL_Sizef (const CL_Sizex< float > &s)
 
 CL_Sizef (const CL_Sizex< int > &copy)
 
 CL_Sizef (const CL_Sizex< double > &copy)
 
Operations
CL_Sizex< float > & operator+= (const CL_Sizex< float > &s)
 Size += Size operator. More...
 
CL_Sizex< float > & operator+= (const float &s)
 Size += operator. More...
 
CL_Sizex< float > & operator-= (const CL_Sizex< float > &s)
 Size -= Size operator. More...
 
CL_Sizex< float > & operator-= (const float &s)
 Size -= operator. More...
 
CL_Sizex< float > operator+ (const CL_Sizex< float > &s) const
 Size + Size operator. More...
 
CL_Sizex< float > operator+ (const float &s) const
 Size + operator. More...
 
CL_Sizex< float > operator- (const CL_Sizex< float > &s) const
 Size - Size operator. More...
 
CL_Sizex< float > operator- (const float &s) const
 Size - operator. More...
 
CL_Sizex< float > & operator*= (const float &s)
 Size *= operator. More...
 
CL_Sizex< float > & operator/= (const float &s)
 Size /= operator. More...
 
CL_Sizex< float > operator* (const float &s) const
 Size * operator. More...
 
CL_Sizex< float > operator/ (const float &s) const
 Size / operator. More...
 
bool operator== (const CL_Sizex< float > &s) const
 Size == Size operator (deep compare). More...
 
bool operator!= (const CL_Sizex< float > &s) const
 Size != Size operator (deep compare). More...
 

Public Attributes

Attributes
float width
 Size width. More...
 
float height
 Size height. More...
 

Detailed Description

2D (width,height) size structure - Float

Constructor & Destructor Documentation

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)
inlineexplicit

Member Function Documentation

bool CL_Sizex< float >::operator!= ( const CL_Sizex< float > &  s) const
inlineinherited

Size != Size operator (deep compare).

CL_Sizex<float > CL_Sizex< float >::operator* ( const float &  s) const
inlineinherited

Size * operator.

CL_Sizex<float >& CL_Sizex< float >::operator*= ( const float &  s)
inlineinherited

Size *= operator.

CL_Sizex<float > CL_Sizex< float >::operator+ ( const CL_Sizex< float > &  s) const
inlineinherited

Size + Size operator.

CL_Sizex<float > CL_Sizex< float >::operator+ ( const float &  s) const
inlineinherited

Size + operator.

CL_Sizex<float >& CL_Sizex< float >::operator+= ( const CL_Sizex< float > &  s)
inlineinherited

Size += Size operator.

CL_Sizex<float >& CL_Sizex< float >::operator+= ( const float &  s)
inlineinherited

Size += operator.

CL_Sizex<float > CL_Sizex< float >::operator- ( const CL_Sizex< float > &  s) const
inlineinherited

Size - Size operator.

CL_Sizex<float > CL_Sizex< float >::operator- ( const float &  s) const
inlineinherited

Size - operator.

CL_Sizex<float >& CL_Sizex< float >::operator-= ( const CL_Sizex< float > &  s)
inlineinherited

Size -= Size operator.

CL_Sizex<float >& CL_Sizex< float >::operator-= ( const float &  s)
inlineinherited

Size -= operator.

CL_Sizex<float > CL_Sizex< float >::operator/ ( const float &  s) const
inlineinherited

Size / operator.

CL_Sizex<float >& CL_Sizex< float >::operator/= ( const float &  s)
inlineinherited

Size /= operator.

bool CL_Sizex< float >::operator== ( const CL_Sizex< float > &  s) const
inlineinherited

Size == Size operator (deep compare).

Member Data Documentation

float CL_Sizex< float >::height
inherited

Size height.

Referenced by CL_Sizef().

float CL_Sizex< float >::width
inherited

Size width.

Referenced by CL_Sizef().


The documentation for this class was generated from the following file: