nux-0.9.46

nux::Size Class Reference

#include <NuxCore/Size.h>

Public Member Functions

 Size (t_int32 w=0, t_int32 h=0)
 ~Size ()
 Size (const Size &s)
Sizeoperator= (const Size &s)
t_bool operator== (const Size &s) const
t_bool operator!= (const Size &s) const
Size operator+ (const Size &p) const
Size operator- (const Size &p) const
t_int32 GetWidth () const
t_int32 GetHeight () const
void SetWidth (t_int32 w)
void SetHeight (t_int32 h)

Data Fields

t_int32 width
t_int32 height

Constructor & Destructor Documentation

nux::Size::Size ( t_int32  w = 0,
t_int32  h = 0 
)
nux::Size::~Size ( )
nux::Size::Size ( const Size s)

Member Function Documentation

t_int32 nux::Size::GetHeight ( ) const
t_int32 nux::Size::GetWidth ( ) const
t_bool nux::Size::operator!= ( const Size s) const
Size nux::Size::operator+ ( const Size p) const
Size nux::Size::operator- ( const Size p) const
Size& nux::Size::operator= ( const Size s)
t_bool nux::Size::operator== ( const Size s) const
void nux::Size::SetHeight ( t_int32  h)
void nux::Size::SetWidth ( t_int32  w)

Field Documentation


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