Lines Matching refs:SkScalarFromCGFloat
672 metrics->fTop = SkScalarFromCGFloat(-SkCGRectGetMaxY(theBounds)); in generateFontMetrics()
673 metrics->fAscent = SkScalarFromCGFloat(-CTFontGetAscent(fCTFont.get())); in generateFontMetrics()
674 metrics->fDescent = SkScalarFromCGFloat( CTFontGetDescent(fCTFont.get())); in generateFontMetrics()
675 metrics->fBottom = SkScalarFromCGFloat(-SkCGRectGetMinY(theBounds)); in generateFontMetrics()
676 metrics->fLeading = SkScalarFromCGFloat( CTFontGetLeading(fCTFont.get())); 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()
681 metrics->fXHeight = SkScalarFromCGFloat( CTFontGetXHeight(fCTFont.get())); in generateFontMetrics()
682 metrics->fCapHeight = SkScalarFromCGFloat( CTFontGetCapHeight(fCTFont.get())); in generateFontMetrics()
683 metrics->fUnderlineThickness = SkScalarFromCGFloat( CTFontGetUnderlineThickness(fCTFont.get())); in generateFontMetrics()
684 metrics->fUnderlinePosition = -SkScalarFromCGFloat( CTFontGetUnderlinePosition(fCTFont.get())); in generateFontMetrics()
715 metrics->fXHeight = SkScalarFromCGFloat(xHeight * fontSize / upem); in generateFontMetrics()
719 metrics->fCapHeight = SkScalarFromCGFloat(capHeight * fontSize / upem); in generateFontMetrics()