Home | History | Annotate | Download | only in win

Lines Matching defs:HFONT

36 typedef struct HFONT__* HFONT;
61 FontPlatformData(HFONT, float size, bool bold, bool oblique, bool useGDI);
65 FontPlatformData(HFONT, CGFontRef, float size, bool bold, bool oblique, bool useGDI);
77 HFONT hfont() const { return m_font->hfont(); }
117 static PassRefPtr<RefCountedHFONT> create(HFONT hfont) { return adoptRef(new RefCountedHFONT(hfont)); }
118 static PassRefPtr<RefCountedHFONT> createDeleted() { return adoptRef(new RefCountedHFONT(reinterpret_cast<HFONT>(-1))); }
120 ~RefCountedHFONT() { if (m_hfont != reinterpret_cast<HFONT>(-1)) DeleteObject(m_hfont); }
122 HFONT hfont() const { return m_hfont; }
125 return StringImpl::computeHash(reinterpret_cast<const UChar*>(&m_hfont), sizeof(HFONT) / sizeof(UChar));
129 RefCountedHFONT(HFONT hfont)
130 : m_hfont(hfont)
134 HFONT m_hfont;
137 void platformDataInit(HFONT font, float size, HDC hdc, WCHAR* faceName);