Home
last modified time | relevance | path

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

/external/skia/src/ports/
DSkFontHost_mac.cpp278 static SkScalar CGToScalar(CGFloat cgFloat) { in CGToScalar() function
938 SkPoint skVertOffset = { CGToScalar(cgVertOffset.width), CGToScalar(cgVertOffset.height) }; in getVerticalOffset()
945 SkPoint skVertOffset = { CGToScalar(cgVertOffset.width), CGToScalar(cgVertOffset.height) }; in getVerticalOffset()
1404 metrics->fTop = CGToScalar(-CGRectGetMaxY_inline(theBounds)); in generateFontMetrics()
1405 metrics->fAscent = CGToScalar(-CTFontGetAscent(fCTFont)); in generateFontMetrics()
1406 metrics->fDescent = CGToScalar( CTFontGetDescent(fCTFont)); in generateFontMetrics()
1407 metrics->fBottom = CGToScalar(-CGRectGetMinY_inline(theBounds)); in generateFontMetrics()
1408 metrics->fLeading = CGToScalar( CTFontGetLeading(fCTFont)); in generateFontMetrics()
1409 metrics->fAvgCharWidth = CGToScalar( CGRectGetWidth_inline(theBounds)); in generateFontMetrics()
1410 metrics->fXMin = CGToScalar( CGRectGetMinX_inline(theBounds)); in generateFontMetrics()
[all …]