Searched refs:theMetrics (Results 1 – 2 of 2) sorted by relevance
1434 SkPaint::FontMetrics theMetrics; in generateFontMetrics() local1435 theMetrics.fTop = CGToScalar(-CGRectGetMaxY_inline(theBounds)); in generateFontMetrics()1436 theMetrics.fAscent = CGToScalar(-CTFontGetAscent(fCTFont)); in generateFontMetrics()1437 theMetrics.fDescent = CGToScalar( CTFontGetDescent(fCTFont)); in generateFontMetrics()1438 theMetrics.fBottom = CGToScalar(-CGRectGetMinY_inline(theBounds)); in generateFontMetrics()1439 theMetrics.fLeading = CGToScalar( CTFontGetLeading(fCTFont)); in generateFontMetrics()1440 theMetrics.fAvgCharWidth = CGToScalar( CGRectGetWidth_inline(theBounds)); in generateFontMetrics()1441 theMetrics.fXMin = CGToScalar( CGRectGetMinX_inline(theBounds)); in generateFontMetrics()1442 theMetrics.fXMax = CGToScalar( CGRectGetMaxX_inline(theBounds)); in generateFontMetrics()1443 theMetrics.fXHeight = CGToScalar( CTFontGetXHeight(fCTFont)); in generateFontMetrics()[all …]
1292 SkPaint::FontMetrics theMetrics; in generateFontMetrics() local1293 theMetrics.fTop = CGToScalar(-CGRectGetMaxY_inline(theBounds)); in generateFontMetrics()1294 theMetrics.fAscent = CGToScalar(-CTFontGetAscent(fCTFont)); in generateFontMetrics()1295 theMetrics.fDescent = CGToScalar( CTFontGetDescent(fCTFont)); in generateFontMetrics()1296 theMetrics.fBottom = CGToScalar(-CGRectGetMinY_inline(theBounds)); in generateFontMetrics()1297 theMetrics.fLeading = CGToScalar( CTFontGetLeading(fCTFont)); in generateFontMetrics()1298 theMetrics.fAvgCharWidth = CGToScalar( CGRectGetWidth_inline(theBounds)); in generateFontMetrics()1299 theMetrics.fXMin = CGToScalar( CGRectGetMinX_inline(theBounds)); in generateFontMetrics()1300 theMetrics.fXMax = CGToScalar( CGRectGetMaxX_inline(theBounds)); in generateFontMetrics()1301 theMetrics.fXHeight = CGToScalar( CTFontGetXHeight(fCTFont)); in generateFontMetrics()[all …]