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

#include <size.h>

+ Inheritance diagram for clan::Sizef:

Public Member Functions

 Sizef ()
 
 Sizef (float width, float height)
 
 Sizef (const Sizex< float > &s)
 
 Sizef (const Vec2< float > &s)
 
 Sizef (const Sizex< int > &copy)
 
 Sizef (const Sizex< double > &copy)
 
Operations
 operator Vec2< float > () const
 
Sizex< float > & operator+= (const Sizex< float > &s)
 Size += Size operator. More...
 
Sizex< float > & operator+= (const float &s)
 Size += operator. More...
 
Sizex< float > & operator-= (const Sizex< float > &s)
 Size -= Size operator. More...
 
Sizex< float > & operator-= (const float &s)
 Size -= operator. More...
 
Sizex< float > operator+ (const Sizex< float > &s) const
 Size + Size operator. More...
 
Sizex< float > operator+ (const float &s) const
 Size + operator. More...
 
Sizex< float > operator- (const Sizex< float > &s) const
 Size - Size operator. More...
 
Sizex< float > operator- (const float &s) const
 Size - operator. More...
 
Sizex< float > & operator*= (const float &s)
 Size *= operator. More...
 
Sizex< float > & operator/= (const float &s)
 Size /= operator. More...
 
Sizex< float > operator* (const float &s) const
 Size * operator. More...
 
Sizex< float > operator/ (const float &s) const
 Size / operator. More...
 
bool operator== (const Sizex< float > &s) const
 Size == Size operator (deep compare). More...
 
bool operator!= (const 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

Member Function Documentation

clan::Sizex< float >::operator Vec2< float > ( ) const
inlineinherited
bool clan::Sizex< float >::operator!= ( const Sizex< float > &  s) const
inlineinherited

Size != Size operator (deep compare).

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

Size * operator.

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

Size *= operator.

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

Size + Size operator.

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

Size + operator.

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

Size += Size operator.

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

Size += operator.

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

Size - Size operator.

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

Size - operator.

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

Size -= Size operator.

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

Size -= operator.

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

Size / operator.

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

Size /= operator.

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

Size == Size operator (deep compare).

Member Data Documentation

float clan::Sizex< float >::height
inherited

Size height.

Referenced by Sizef().

float clan::Sizex< float >::width
inherited

Size width.

Referenced by Sizef().


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