Searched refs:deviceContext (Results 1 – 1 of 1) sorted by relevance
/external/skia/src/ports/ |
D | SkFontHost_win.cpp | 101 static void dcfontname_to_skstring(HDC deviceContext, const LOGFONT& lf, SkString* familyName) { in dcfontname_to_skstring() argument 103 if (0 == (fontNameLen = GetTextFace(deviceContext, 0, nullptr))) { in dcfontname_to_skstring() 105 if (0 == (fontNameLen = GetTextFace(deviceContext, 0, nullptr))) { in dcfontname_to_skstring() 111 if (0 == GetTextFace(deviceContext, fontNameLen, fontName.get())) { in dcfontname_to_skstring() 113 if (0 == GetTextFace(deviceContext, fontNameLen, fontName.get())) { in dcfontname_to_skstring() 218 HDC deviceContext = ::CreateCompatibleDC(nullptr); in LogFontTypeface() local 219 HFONT savefont = (HFONT)SelectObject(deviceContext, font); in LogFontTypeface() 222 if (0 == GetTextMetrics(deviceContext, &textMetric)) { in LogFontTypeface() 224 if (0 == GetTextMetrics(deviceContext, &textMetric)) { in LogFontTypeface() 228 if (deviceContext) { in LogFontTypeface() [all …]
|