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

#include <size.h>

+ Inheritance diagram for clan::Size:

Public Member Functions

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

Additional Inherited Members

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

Detailed Description

2D (width,height) size structure - Integer

Constructor & Destructor Documentation

clan::Size::Size ( )
inline
clan::Size::Size ( int  width,
int  height 
)
inline
clan::Size::Size ( const Sizex< int > &  s)
inline
clan::Size::Size ( const Vec2< int > &  s)
inline
clan::Size::Size ( const Sizex< float > &  copy)
inlineexplicit
clan::Size::Size ( const Sizex< double > &  copy)
inlineexplicit

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