Home
last modified time | relevance | path

Searched refs:CGToScalar (Results 1 – 2 of 2) sorted by relevance

/external/skia/legacy/src/ports/
DSkFontHost_mac_coretext.cpp235 static SkScalar CGToScalar(CGFloat cgFloat) { in CGToScalar() function
256 CGToScalar(xform.a), CGToScalar(xform.c), CGToScalar(xform.tx), in CGAffineTransformToMatrix()
257 CGToScalar(xform.b), CGToScalar(xform.d), CGToScalar(xform.ty), in CGAffineTransformToMatrix()
1435 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()
[all …]
/external/skia/src/ports/
DSkFontHost_mac_coretext.cpp264 static SkScalar CGToScalar(CGFloat cgFloat) { in CGToScalar() function
815 const SkPoint trans = {CGToScalar(vertOffset.width), in getVerticalOffset()
816 CGToScalar(vertOffset.height)}; in getVerticalOffset()
1293 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()
[all …]