uicore::Size Class Reference

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

#include <size.h>

+ Inheritance diagram for uicore::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 uicore::Sizex< int >
 Sizex ()
 Constructs a size structure. More...
 
 Sizex (int width, int height)
 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 uicore::Sizex< int >
int height
 Size height. More...
 
int width
 Size width. More...
 

Detailed Description

2D (width,height) size structure - Integer

Constructor & Destructor Documentation

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

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