Lines Matching refs:fTM
579 TEXTMETRIC fTM; member in SkScalerContext_GDI
663 if (0 == GetTextMetrics(fDDC, &fTM)) { in SkScalerContext_GDI()
665 if (0 == GetTextMetrics(fDDC, &fTM)) { in SkScalerContext_GDI()
666 fTM.tmPitchAndFamily = TMPF_TRUETYPE; in SkScalerContext_GDI()
671 if (fTM.tmPitchAndFamily & TMPF_VECTOR) { in SkScalerContext_GDI()
680 if (fTM.tmPitchAndFamily & (TMPF_TRUETYPE | TMPF_DEVICE)) { in SkScalerContext_GDI()
848 glyph->fWidth = SkToS16(fTM.tmMaxCharWidth); in generateMetrics()
854 glyph->fTop = SkToS16(-fTM.tmAscent); in generateMetrics()
961 metrics->fTop = SkIntToScalar(-fTM.tmAscent); in generateFontMetrics()
962 metrics->fAscent = SkIntToScalar(-fTM.tmAscent); in generateFontMetrics()
963 metrics->fDescent = SkIntToScalar(fTM.tmDescent); in generateFontMetrics()
964 metrics->fBottom = SkIntToScalar(fTM.tmDescent); in generateFontMetrics()
965 metrics->fLeading = SkIntToScalar(fTM.tmExternalLeading); in generateFontMetrics()
966 metrics->fAvgCharWidth = SkIntToScalar(fTM.tmAveCharWidth); in generateFontMetrics()
967 metrics->fMaxCharWidth = SkIntToScalar(fTM.tmMaxCharWidth); in generateFontMetrics()