/* ------------------------------------------- Copyright Mahrouss Logic File: Dim2d.hpp Purpose: Revision History: 31/01/24: Added file (amlel) 3/10/24: Remname extension to .hxx ------------------------------------------- */ #ifndef __DIM2D__ #define __DIM2D__ #include namespace System::Graphics { class G_API Dim2d final { public: explicit Dim2d() = delete; explicit Dim2d(const HCore::UInt& x, const HCore::UInt& y) : m_X(x), m_Y(y) {} Dim2d& operator=(const Dim2d&) = default; Dim2d(const Dim2d&) = default; HCore::UInt& X(); HCore::UInt& Y(); private: HCore::UInt m_X{0}; HCore::UInt m_Y{0}; }; } // namespace System::Graphics #endif /* ifndef __DIM2D__ */