Home | History | Annotate | Download | only in win32

Lines Matching refs:HFONT

345   uint32_t GetFontData(void* hFont,
349 bool GetFaceName(void* hFont, CFX_ByteString& name) override;
350 bool GetFontCharset(void* hFont, int& charset) override;
351 void DeleteFont(void* hFont) override;
384 HFONT hFont = CreateFontIndirectA(plf);
386 uint32_t font_size = GetFontData(hFont, 0, nullptr, 0);
389 GetFontData(hFont, 0, (uint8_t*)(&lVersion), sizeof(uint32_t));
400 DeleteFont(hFont);
405 HFONT hFont = CreateFontIndirectA(plf);
407 uint32_t font_size = GetFontData(hFont, 0, nullptr, 0);
410 GetFontData(hFont, 0, (uint8_t*)(&lVersion), sizeof(uint32_t));
423 DeleteFont(hFont);
598 HFONT hFont =
602 HFONT hOldFont = (HFONT)::SelectObject(m_hDC, hFont);
606 return hFont;
618 return hFont;
620 ::DeleteObject(hFont);
642 hFont =
645 return hFont;
648 void CFX_Win32FontInfo::DeleteFont(void* hFont) {
649 ::DeleteObject(hFont);
652 uint32_t CFX_Win32FontInfo::GetFontData(void* hFont,
656 HFONT hOldFont = (HFONT)::SelectObject(m_hDC, (HFONT)hFont);
666 bool CFX_Win32FontInfo::GetFaceName(void* hFont, CFX_ByteString& name) {
668 HFONT hOldFont = (HFONT)::SelectObject(m_hDC, (HFONT)hFont);
678 bool CFX_Win32FontInfo::GetFontCharset(void* hFont, int& charset) {
680 HFONT hOldFont = (HFONT)::SelectObject(m_hDC, (HFONT)hFont);