Lines Matching refs:fCTFont
144 fCTFont = SkCTFontCreateExactCopy(ctFont, textSize, in SkScalerContext_Mac()
146 fCGFont.reset(CTFontCopyGraphicsFont(fCTFont.get(), nullptr)); in SkScalerContext_Mac()
261 CTFontDrawGlyphs(context.fCTFont.get(), &glyphID, &point, 1, fCG.get()); in getCG()
280 CTFontGetAdvancesForGlyphs(fCTFont.get(), kCTFontOrientationHorizontal, in generateMetrics()
298 CTFontGetBoundingRectsForGlyphs(fCTFont.get(), kCTFontOrientationHorizontal, in generateMetrics()
308 SkUniqueCFRef<CGPathRef> path(CTFontCreatePathForGlyph(fCTFont.get(), cgGlyph,nullptr)); in generateMetrics()
647 SkUniqueCFRef<CGPathRef> cgPath(CTFontCreatePathForGlyph(fCTFont.get(), cgGlyph, &xform)); in generatePath()
670 CGRect theBounds = CTFontGetBoundingBox(fCTFont.get()); in generateFontMetrics()
673 metrics->fAscent = SkScalarFromCGFloat(-CTFontGetAscent(fCTFont.get())); in generateFontMetrics()
674 metrics->fDescent = SkScalarFromCGFloat( CTFontGetDescent(fCTFont.get())); in generateFontMetrics()
676 metrics->fLeading = SkScalarFromCGFloat( CTFontGetLeading(fCTFont.get())); in generateFontMetrics()
681 metrics->fXHeight = SkScalarFromCGFloat( CTFontGetXHeight(fCTFont.get())); in generateFontMetrics()
682 metrics->fCapHeight = SkScalarFromCGFloat( CTFontGetCapHeight(fCTFont.get())); in generateFontMetrics()
683 metrics->fUnderlineThickness = SkScalarFromCGFloat( CTFontGetUnderlineThickness(fCTFont.get())); in generateFontMetrics()
684 metrics->fUnderlinePosition = -SkScalarFromCGFloat( CTFontGetUnderlinePosition(fCTFont.get())); in generateFontMetrics()
690 SkUniqueCFRef<CFArrayRef> ctAxes(CTFontCopyVariationAxes(fCTFont.get())); in generateFontMetrics()
710 CGFloat fontSize = CTFontGetSize(this->fCTFont.get()); in generateFontMetrics()
711 unsigned upem = CTFontGetUnitsPerEm(this->fCTFont.get()); in generateFontMetrics()