Lines Matching refs:fTM
607 TEXTMETRIC fTM;
695 if (0 == GetTextMetrics(fDDC, &fTM)) {
697 if (0 == GetTextMetrics(fDDC, &fTM)) {
698 fTM.tmPitchAndFamily = TMPF_TRUETYPE;
703 if (fTM.tmPitchAndFamily & TMPF_VECTOR) {
712 if (fTM.tmPitchAndFamily & (TMPF_TRUETYPE | TMPF_DEVICE)) {
814 glyph->fWidth = SkToS16(fTM.tmMaxCharWidth);
815 glyph->fHeight = SkToS16(fTM.tmHeight);
821 glyph->fTop = SkToS16(-fTM.tmAscent);
895 if ((fTM.tmPitchAndFamily & TMPF_VECTOR) && this->isLinearMetrics()) {
927 metrics->fTop = SkIntToScalar(-fTM.tmAscent);
928 metrics->fAscent = SkIntToScalar(-fTM.tmAscent);
929 metrics->fDescent = SkIntToScalar(fTM.tmDescent);
930 metrics->fBottom = SkIntToScalar(fTM.tmDescent);
931 metrics->fLeading = SkIntToScalar(fTM.tmExternalLeading);
932 metrics->fAvgCharWidth = SkIntToScalar(fTM.tmAveCharWidth);
933 metrics->fMaxCharWidth = SkIntToScalar(fTM.tmMaxCharWidth);
1863 * is available in fTM.tmDefaultChar. FON fonts have a default character, and there exists