#pragma once #include "common.h" struct BkgndInfo { int vRange; int hRange; int zRange; unsigned int *arrays[1]; }; class AFX_EXT_CLASS UT2BkgndInfo { public: static BkgndInfo* SetupBkgndInfo(const RECT&, int); static void DisposeBkgndInfo(BkgndInfo*&); static unsigned int GetBkgndInfo(BkgndInfo* const, int, int); static void UnitToBkgndRect(const RECT&, RECT&); static void BkgndToUnitRect(const RECT&, RECT&); static void GetOffBkgndRect(int, RECT&); static void ReplaceID(const BkgndInfo*, unsigned int, int); };