Lines Matching refs:cgFont
403 SkUniqueCFRef<CGFontRef> cgFont(CGFontCreateWithDataProvider(data.get())); in smooth_behavior() local
404 SkASSERT(cgFont); in smooth_behavior()
406 CTFontCreateWithGraphicsFont(cgFont.get(), 16, nullptr, nullptr)); in smooth_behavior()
1681 SkUniqueCFRef<CGFontRef> cgFont(CTFontCopyGraphicsFont(ctFont.get(), nullptr)); in onGetAdvancedMetrics() local
1682 if (cgFont) { in onGetAdvancedMetrics()
1683 SkUniqueCFRef<CFArrayRef> cgAxes(CGFontCopyVariationAxes(cgFont.get())); in onGetAdvancedMetrics()
1939 SkUniqueCFRef<CGFontRef> cgFont(CTFontCopyGraphicsFont(ctFont, nullptr)); in get_variations() local
1940 if (!cgFont) { in get_variations()
1944 SkUniqueCFRef<CFDictionaryRef> cgVariations(CGFontCopyVariations(cgFont.get())); in get_variations()
1950 SkUniqueCFRef<CFArrayRef> cgAxes(CGFontCopyVariationAxes(cgFont.get())); in get_variations()
2066 SkUniqueCFRef<CGFontRef> cgFont(CTFontCopyGraphicsFont(fFontRef.get(), nullptr)); in onGetVariationDesignPosition() local
2067 if (!cgFont) { in onGetVariationDesignPosition()
2070 SkUniqueCFRef<CFDictionaryRef> cgVariations(CGFontCopyVariations(cgFont.get())); in onGetVariationDesignPosition()
2128 SkUniqueCFRef<CGFontRef> cgFont(CTFontCopyGraphicsFont(fFontRef.get(), nullptr)); in onGetUPEM() local
2129 return CGFontGetUnitsPerEm(cgFont.get()); in onGetUPEM()
2181 SkUniqueCFRef<CGFontRef> cgFont(CTFontCopyGraphicsFont(ctFont, nullptr)); in copy_table_from_font() local
2182 data.reset(CGFontCopyTableForTag(cgFont.get(), tag)); in copy_table_from_font()