Searched refs:capHeight (Results 1 – 9 of 9) sorted by relevance
717 uint16_t capHeight = SkEndian_SwapBE16(heights.sCapHeight); in generateFontMetrics() local718 if (capHeight && capHeight < maxSaneHeight) { in generateFontMetrics()719 metrics->fCapHeight = SkScalarFromCGFloat(capHeight * fontSize / upem); in generateFontMetrics()
498 info->fCapHeight = SkToS16(dwfm.capHeight); in onGetAdvancedMetrics()
811 metrics->fCapHeight = fTextSizeRender * SkIntToScalar(dwfm.capHeight) / upem; in generateFontMetrics()
144 SkScalar capHeight = 0; in GetMetrics() local149 capHeight += bounds.height(); in GetMetrics()151 metrics->fCapHeight = SkToS16(SkScalarRoundToInt(capHeight / 2)); in GetMetrics()
143 SkScalar capHeight = 0; in GetMetrics() local148 capHeight += bounds.height(); in GetMetrics()150 metrics->fCapHeight = SkToS16(SkScalarRoundToInt(capHeight / 2)); in GetMetrics()
1539 uint16_t capHeight = SkEndian_SwapBE16(heights.sCapHeight); in generateFontMetrics() local1540 if (capHeight && capHeight < maxSaneHeight) { in generateFontMetrics()1541 metrics->fCapHeight = CGToScalar(capHeight * fontSize / upem); in generateFontMetrics()
418 info->fCapHeight = SkToS16(dwfm.capHeight); in onGetAdvancedMetrics()
753 metrics->fCapHeight = fTextSizeRender * SkIntToScalar(dwfm.capHeight) / upem; in generateFontMetrics()
1851 capHeight?: number | string;