first commit

This commit is contained in:
2026-06-05 11:45:04 +03:00
commit b457544071
29 changed files with 1725 additions and 0 deletions
+35
View File
@@ -0,0 +1,35 @@
#include "Size.h"
Size::Size(
PointType width,
PointType height
)
{
m_Width = width;
m_Height = height;
}
Size::PointType Size::width() const
{
return m_Width;
}
Size::PointType Size::height() const
{
return m_Height;
}
Size::PointType& Size::width()
{
return m_Width;
}
Size::PointType& Size::height()
{
return m_Height;
}
Size::PointType Size::area() const
{
return m_Width * m_Height;
}