Lines Matching refs:CGToScalar
264 static SkScalar CGToScalar(CGFloat cgFloat) {
815 const SkPoint trans = {CGToScalar(vertOffset.width),
816 CGToScalar(vertOffset.height)};
1293 theMetrics.fTop = CGToScalar(-CGRectGetMaxY_inline(theBounds));
1294 theMetrics.fAscent = CGToScalar(-CTFontGetAscent(fCTFont));
1295 theMetrics.fDescent = CGToScalar( CTFontGetDescent(fCTFont));
1296 theMetrics.fBottom = CGToScalar(-CGRectGetMinY_inline(theBounds));
1297 theMetrics.fLeading = CGToScalar( CTFontGetLeading(fCTFont));
1298 theMetrics.fAvgCharWidth = CGToScalar( CGRectGetWidth_inline(theBounds));
1299 theMetrics.fXMin = CGToScalar( CGRectGetMinX_inline(theBounds));
1300 theMetrics.fXMax = CGToScalar( CGRectGetMaxX_inline(theBounds));
1301 theMetrics.fXHeight = CGToScalar( CTFontGetXHeight(fCTFont));
1529 r.set( CGToScalar(CGRectGetMinX_inline(bbox)), // Left
1530 CGToScalar(CGRectGetMaxY_inline(bbox)), // Top
1531 CGToScalar(CGRectGetMaxX_inline(bbox)), // Right
1532 CGToScalar(CGRectGetMinY_inline(bbox))); // Bottom