Lines Matching defs:hFont
31 virtual FX_DWORD GetFontData(void* hFont, FX_DWORD table, FX_LPBYTE buffer, FX_DWORD size);
32 virtual void DeleteFont(void* hFont);
33 virtual FX_BOOL GetFaceName(void* hFont, CFX_ByteString& name);
34 virtual FX_BOOL GetFontCharset(void* hFont, int& charset);
62 HFONT hFont = CreateFontIndirectA(plf);
64 FX_DWORD font_size = GetFontData(hFont, 0, NULL, 0);
67 GetFontData(hFont, 0, (FX_BYTE*)(&lVersion), sizeof(FX_DWORD));
78 DeleteFont(hFont);
83 HFONT hFont = CreateFontIndirectA(plf);
85 FX_DWORD font_size = GetFontData(hFont, 0, NULL, 0);
88 GetFontData(hFont, 0, (FX_BYTE*)(&lVersion), sizeof(FX_DWORD));
102 DeleteFont(hFont);
318 HFONT hFont = ::CreateFontA(-10, 0, 0, 0, weight, bItalic, 0, 0, charset, OUT_TT_ONLY_PRECIS,
321 HFONT hOldFont = (HFONT)::SelectObject(m_hDC, hFont);
325 return hFont;
333 return hFont;
337 ::DeleteObject(hFont);
359 hFont = ::CreateFontA(-10, 0, 0, 0, weight, bItalic, 0, 0, charset, OUT_TT_ONLY_PRECIS,
361 return hFont;
363 void CWin32FontInfo::DeleteFont(void* hFont)
365 ::DeleteObject(hFont);
367 FX_DWORD CWin32FontInfo::GetFontData(void* hFont, FX_DWORD table, FX_LPBYTE buffer, FX_DWORD size)
369 HFONT hOldFont = (HFONT)::SelectObject(m_hDC, (HFONT)hFont);
378 FX_BOOL CWin32FontInfo::GetFaceName(void* hFont, CFX_ByteString& name)
381 HFONT hOldFont = (HFONT)::SelectObject(m_hDC, (HFONT)hFont);
390 FX_BOOL CWin32FontInfo::GetFontCharset(void* hFont, int& charset)
393 HFONT hOldFont = (HFONT)::SelectObject(m_hDC, (HFONT)hFont);