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

#include <size.h>

Inheritance diagram for clan::Sizef:

Public Member Functions

 Sizef ()
 Sizef (const Sizex< double > &copy)
 Sizef (const Sizex< float > &s)
 Sizef (const Sizex< int > &copy)
 Sizef (const Vec2< float > &s)
 Sizef (float width, float height)
Public Member Functions inherited from clan::Sizex< float >
 Sizex ()
 Constructs a size structure.
 operator Vec2< float > () const
bool operator!= (const Sizex< float > &s) const
 Size != Size operator (deep compare).
Sizex< float > operator* (const float &s) const
 Size * operator.
Sizex< float > & operator*= (const float &s)
 Size *= operator.
Sizex< float > operator+ (const Sizex< float > &s) const
 Size + Size operator.
Sizex< float > & operator+= (const Sizex< float > &s)
 Size += Size operator.
Sizex< float > operator- (const Sizex< float > &s) const
 Size - Size operator.
Sizex< float > & operator-= (const Sizex< float > &s)
 Size -= Size operator.
Sizex< float > operator/ (const float &s) const
 Size / operator.
Sizex< float > & operator/= (const float &s)
 Size /= operator.
bool operator== (const Sizex< float > &s) const
 Size == Size operator (deep compare).

Additional Inherited Members

Public Attributes inherited from clan::Sizex< float >
float height
 Size height.
float width
 Size width.

Detailed Description

2D (width,height) size structure - Float

Constructor & Destructor Documentation

◆ Sizef() [1/6]

clan::Sizef::Sizef ( )
inline

◆ Sizef() [2/6]

clan::Sizef::Sizef ( float width,
float height )
inline

◆ Sizef() [3/6]

clan::Sizef::Sizef ( const Sizex< float > & s)
inline

◆ Sizef() [4/6]

clan::Sizef::Sizef ( const Vec2< float > & s)
inline

◆ Sizef() [5/6]

◆ Sizef() [6/6]


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