Lines Matching defs:hfont
49 HFONT hfont = CreateFont(12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
51 if (!hfont)
54 HGDIOBJ oldFont = static_cast<HFONT>(SelectObject(dc, hfont));
59 DeleteObject(hfont);
242 int getAscent(HFONT hfont)
245 HGDIOBJ oldFont = SelectObject(dc, hfont);
253 WORD getSpaceGlyph(HFONT hfont)
256 HGDIOBJ oldFont = SelectObject(dc, hfont);
267 : hfont(0)
274 HFONT hfont;
395 HFONT* hfont,
421 derived->hfont = CreateFontIndirect(logfont);
425 derived->ascent = getAscent(derived->hfont);
426 derived->spaceGlyph = getSpaceGlyph(derived->hfont);
433 derived->ascent = getAscent(derived->hfont);
435 *hfont = derived->hfont;