#pragma once #include "common.h" class AFX_CLASS_EXPORT URect : public CRect { public: static void SetEmpty(RECT& outRect); static void Center(const RECT& inRect, RECT& ioRect, BOOL inFlag = false); static int Width(const RECT& inRect); static int Height(const RECT& inRect); static void Union(const RECT& inRect1, const RECT& inRect2, RECT& outRect); static POINT Center(const RECT& inRect); };