Lines Matching refs:LOGFONT
36 static void (*gEnsureLOGFONTAccessibleProc)(const LOGFONT&);
38 void SkTypeface_SetEnsureLOGFONTAccessibleProc(void (*proc)(const LOGFONT&)) { in SkTypeface_SetEnsureLOGFONTAccessibleProc() argument
42 static void call_ensure_accessible(const LOGFONT& lf) { in call_ensure_accessible()
99 static void dcfontname_to_skstring(HDC deviceContext, const LOGFONT& lf, SkString* familyName) { in dcfontname_to_skstring()
119 static void make_canonical(LOGFONT* lf) { in make_canonical()
126 static SkFontStyle get_style(const LOGFONT& lf) { in get_style()
147 static unsigned calculateGlyphCount(HDC hdc, const LOGFONT& lf) { in calculateGlyphCount()
183 static unsigned calculateUPEM(HDC hdc, const LOGFONT& lf) { in calculateUPEM()
207 LogFontTypeface(const SkFontStyle& style, const LOGFONT& lf, bool serializeAsStream) in LogFontTypeface()
243 LOGFONT fLogFont;
247 static LogFontTypeface* Create(const LOGFONT& lf) { in Create()
278 static FontMemResourceTypeface* Create(const LOGFONT& lf, HANDLE fontMemResource) { in Create()
293 FontMemResourceTypeface(const SkFontStyle& style, const LOGFONT& lf, HANDLE fontMemResource) in FontMemResourceTypeface()
302 static const LOGFONT& get_default_font() { in get_default_font()
303 static LOGFONT gDefaultFont; in get_default_font()
309 const LOGFONT* lf = reinterpret_cast<const LOGFONT*>(ctx); in FindByLogFont()
313 !memcmp(&lface->fLogFont, lf, sizeof(LOGFONT)); in FindByLogFont()
320 SkTypeface* SkCreateTypefaceFromLOGFONT(const LOGFONT& origLF) { in SkCreateTypefaceFromLOGFONT()
321 LOGFONT lf = origLF; in SkCreateTypefaceFromLOGFONT()
334 SkTypeface* SkCreateFontMemResourceTypefaceFromLOGFONT(const LOGFONT& origLF, HANDLE fontMemResourc… in SkCreateFontMemResourceTypefaceFromLOGFONT()
335 LOGFONT lf = origLF; in SkCreateFontMemResourceTypefaceFromLOGFONT()
344 void SkLOGFONTFromTypeface(const SkTypeface* face, LOGFONT* lf) { in SkLOGFONTFromTypeface()
651 LOGFONT lf = typeface->fLogFont; in SkScalerContext_GDI()
1672 static void logfont_for_name(const char* familyName, LOGFONT* lf) { in logfont_for_name()
1673 sk_bzero(lf, sizeof(LOGFONT)); in logfont_for_name()
1737 LOGFONT lf = fLogFont; in onGetAdvancedTypefaceMetrics()
1959 LOGFONT lf; in create_from_stream()
1970 LOGFONT lf = fLogFont; in onOpenStream()
2059 SkAutoHDC(const LOGFONT& lf) in SkAutoHDC()
2271 LOGFONT lf = fLogFont; in onGetTableData()
2364 static bool valid_logfont_for_enum(const LOGFONT& lf) { in valid_logfont_for_enum()
2380 static int CALLBACK enum_family_proc(const LOGFONT* lf, const TEXTMETRIC*, in enum_family_proc()
2392 LOGFONT lf; in SkFontStyleSetGDI()
2439 LOGFONT lf; in SkFontMgrGDI()
2467 LOGFONT lf; in onMatchFamily()
2510 LOGFONT lf; in onLegacyCreateTypeface()