Searched refs:SkScalarFromCGFloat (Results 1 – 4 of 4) sorted by relevance
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()[all …]
614 r.setLTRB(SkScalarFromCGFloat(SkCGRectGetMinX(bbox)), // Left in onGetAdvancedMetrics()615 SkScalarFromCGFloat(SkCGRectGetMaxY(bbox)), // Top in onGetAdvancedMetrics()616 SkScalarFromCGFloat(SkCGRectGetMaxX(bbox)), // Right in onGetAdvancedMetrics()617 SkScalarFromCGFloat(SkCGRectGetMinY(bbox))); // Bottom in onGetAdvancedMetrics()823 coordinates[i].value = SkScalarFromCGFloat(valueCGFloat); in onGetVariationDesignPosition()
28 static inline SkScalar SkScalarFromCGFloat(CGFloat cgFloat) { in SkScalarFromCGFloat() function
298 buffer.point.fX + SkScalarFromCGFloat(positions[k].x) - lineAdvance, in shape()