Home | History | Annotate | Download | only in ports

Lines Matching defs:upem

860     SkScalar upem = SkIntToScalar(dwfm.designUnitsPerEm);
862 mx->fTop = -fRec.fTextSize * SkIntToScalar(dwfm.ascent) / upem;
864 mx->fDescent = fRec.fTextSize * SkIntToScalar(dwfm.descent) / upem;
866 mx->fLeading = fRec.fTextSize * SkIntToScalar(dwfm.lineGap) / upem;
867 mx->fXHeight = fRec.fTextSize * SkIntToScalar(dwfm.xHeight) / upem;
871 my->fTop = -fRec.fTextSize * SkIntToScalar(dwfm.ascent) / upem;
873 my->fDescent = fRec.fTextSize * SkIntToScalar(dwfm.descent) / upem;
875 my->fLeading = fRec.fTextSize * SkIntToScalar(dwfm.lineGap) / upem;
876 my->fXHeight = fRec.fTextSize * SkIntToScalar(dwfm.xHeight) / upem;