Lines Matching refs:CGToScalar
235 static SkScalar CGToScalar(CGFloat cgFloat) {
256 CGToScalar(xform.a), CGToScalar(xform.c), CGToScalar(xform.tx),
257 CGToScalar(xform.b), CGToScalar(xform.d), CGToScalar(xform.ty),
1435 theMetrics.fTop = CGToScalar(-CGRectGetMaxY_inline(theBounds));
1436 theMetrics.fAscent = CGToScalar(-CTFontGetAscent(fCTFont));
1437 theMetrics.fDescent = CGToScalar( CTFontGetDescent(fCTFont));
1438 theMetrics.fBottom = CGToScalar(-CGRectGetMinY_inline(theBounds));
1439 theMetrics.fLeading = CGToScalar( CTFontGetLeading(fCTFont));
1440 theMetrics.fAvgCharWidth = CGToScalar( CGRectGetWidth_inline(theBounds));
1441 theMetrics.fXMin = CGToScalar( CGRectGetMinX_inline(theBounds));
1442 theMetrics.fXMax = CGToScalar( CGRectGetMaxX_inline(theBounds));
1443 theMetrics.fXHeight = CGToScalar( CTFontGetXHeight(fCTFont));