Initial Commit

This commit is contained in:
2024-08-07 09:09:36 -04:00
commit ca445435a0
458 changed files with 41370 additions and 0 deletions

30
common/GDIPOINT.CPP Normal file
View File

@@ -0,0 +1,30 @@
#include <common/gdipoint.hpp>
GDIPoint &GDIPoint::operator--(void)
{
x(x()-1);
y(y()-1);
return *this;
}
GDIPoint GDIPoint::operator--(int /*prefixDummy*/)
{
GDIPoint prePoint(*this);
--(*this);
return prePoint;
}
GDIPoint GDIPoint::operator++(int /*prefixDummy*/)
{
GDIPoint prePoint(*this);
++(*this);
return prePoint;
}
GDIPoint GDIPoint::operator+(const GDIPoint &someGDIPoint)const
{
GDIPoint tmpPoint(*this);
tmpPoint+=someGDIPoint;
return tmpPoint;
}