Searched refs:fCTFont (Results 1 – 3 of 3) sorted by relevance
/external/skia/src/ports/ |
D | SkScalerContext_mac_ct.cpp | 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() [all …]
|
D | SkScalerContext_mac_ct.h | 101 SkUniqueCFRef<CTFontRef> fCTFont; variable
|
/external/skqp/src/ports/ |
D | SkFontHost_mac.cpp | 934 SkUniqueCFRef<CTFontRef> fCTFont; member in SkScalerContext_Mac 1003 fCTFont = ctfont_create_exact_copy(ctFont, textSize, nullptr); in SkScalerContext_Mac() 1004 fCGFont.reset(CTFontCopyGraphicsFont(fCTFont.get(), nullptr)); in SkScalerContext_Mac() 1114 CTFontDrawGlyphs(context.fCTFont.get(), &glyphID, &point, 1, fCG.get()); in getCG() 1138 CTFontGetGlyphsForCharacters(fCTFont.get(), theChar, cgGlyph, numUniChar); in generateCharToGlyph() 1156 CTFontGetAdvancesForGlyphs(fCTFont.get(), kCTFontOrientationHorizontal, in generateMetrics() 1174 CTFontGetBoundingRectsForGlyphs(fCTFont.get(), kCTFontOrientationHorizontal, in generateMetrics() 1184 SkUniqueCFRef<CGPathRef> path(CTFontCreatePathForGlyph(fCTFont.get(), cgGlyph,nullptr)); in generateMetrics() 1448 SkUniqueCFRef<CGPathRef> cgPath(CTFontCreatePathForGlyph(fCTFont.get(), cgGlyph, &xform)); in generatePath() 1471 CGRect theBounds = CTFontGetBoundingBox(fCTFont.get()); in generateFontMetrics() [all …]
|