/* ==================================================================== * ÆÄ ÀÏ : CacheFont.h * ¸ñ Àû : ½Ç½Ã°£ À̹ÌÁö ÆùÆ®¸¦ »ý¼ºÇؼ­ »ç¿ë * ÀÛ ¼º ÀÚ : À̹ý¼® * ÀÛ ¼º ÀÏ : 2006.11.10 * * Ãß°¡³»¿ë : * Ãß°¡³¯Â¥ ÀÛ¾÷ÀÚ Ãß°¡³»¿ë * 06.11.10 À̹ý¼® ¹¬Çâ ¼Ò½º ÂüÁ¶ * * ÁÖÀÇ»çÇ× : * =================================================================== */ #pragma once #include "FontObject.h" #include "CacheAgent.h" class cCacheFont : public cFontObject { public: cCacheFont(); virtual ~cCacheFont(); /// ÆùÆ®ÀÇ »ý¼º virtual bool CreateFont( HWND hwnd, LOGFONT* pLogFont, sCacheInfo& cacheInfo ); /// ±ÛÀÚ Âï±â virtual bool DrawText( LPTSTR str, int strLen, RECT* pRect, unsigned long color, LPD3DXSPRITE pSprite, bool outerLine ); void Invalidate(); void Restore(); protected: /// ij½¬ °ü¸®ÀÚ cCacheAgent* mpCacheAgent; sCacheInfo mCacheInfo; /// ij½¬ °ü¸®ÀÚ¿ë Àü´ÞÀÚ sFontPropertyDesc mFontPropertyDesc; };