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

#include <size.h>

Inheritance diagram for clan::Size:

Public Member Functions

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

Additional Inherited Members

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

Detailed Description

2D (width,height) size structure - Integer

Constructor & Destructor Documentation

◆ Size() [1/6]

clan::Size::Size ( )
inline

◆ Size() [2/6]

clan::Size::Size ( int width,
int height )
inline

◆ Size() [3/6]

clan::Size::Size ( const Sizex< int > & s)
inline

◆ Size() [4/6]

clan::Size::Size ( const Vec2< int > & s)
inline

◆ Size() [5/6]

◆ Size() [6/6]


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