Searched refs:theBounds (Results 1 – 2 of 2) sorted by relevance
670 CGRect theBounds = CTFontGetBoundingBox(fCTFont.get()); in generateFontMetrics() local672 metrics->fTop = SkScalarFromCGFloat(-SkCGRectGetMaxY(theBounds)); in generateFontMetrics()675 metrics->fBottom = SkScalarFromCGFloat(-SkCGRectGetMinY(theBounds)); in generateFontMetrics()677 metrics->fAvgCharWidth = SkScalarFromCGFloat( SkCGRectGetWidth(theBounds)); in generateFontMetrics()678 metrics->fXMin = SkScalarFromCGFloat( SkCGRectGetMinX(theBounds)); in generateFontMetrics()679 metrics->fXMax = SkScalarFromCGFloat( SkCGRectGetMaxX(theBounds)); in generateFontMetrics()
1498 CGRect theBounds = CTFontGetBoundingBox(fCTFont.get()); in generateFontMetrics() local1500 metrics->fTop = CGToScalar(-CGRectGetMaxY_inline(theBounds)); in generateFontMetrics()1503 metrics->fBottom = CGToScalar(-CGRectGetMinY_inline(theBounds)); in generateFontMetrics()1505 metrics->fAvgCharWidth = CGToScalar( CGRectGetWidth_inline(theBounds)); in generateFontMetrics()1506 metrics->fXMin = CGToScalar( CGRectGetMinX_inline(theBounds)); in generateFontMetrics()1507 metrics->fXMax = CGToScalar( CGRectGetMaxX_inline(theBounds)); in generateFontMetrics()