23
#ifndef NUX_CORE_SIZE_H
24
#define NUX_CORE_SIZE_H
32
Size (t_int32 w = 0, t_int32 h = 0);
36
Size &operator = (const Size &s);
37
t_bool operator == (const Size &s) const;
38
t_bool operator != (const Size &s) const;
39
Size operator + (const Size &p) const;
40
Size operator - (const Size &p) const;
43
t_int32 GetWidth() const;
44
t_int32 GetHeight() const;
45
void SetWidth (t_int32 w);
46
void SetHeight (t_int32 h);
39
bool operator == (const Size& lhs, const Size& rhs);
40
bool operator != (const Size& lhs, const Size& rhs);