Home
last modified time | relevance | path

Searched refs:cgFont (Results 1 – 2 of 2) sorted by relevance

/external/skqp/src/ports/
DSkFontHost_mac.cpp403 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()
[all …]
/external/skia/src/ports/
DSkTypeface_mac_ct.cpp829 SkUniqueCFRef<CGFontRef> cgFont(CTFontCopyGraphicsFont(fFontRef.get(), nullptr)); in onGetUPEM() local
830 return CGFontGetUnitsPerEm(cgFont.get()); in onGetUPEM()
882 SkUniqueCFRef<CGFontRef> cgFont(CTFontCopyGraphicsFont(ctFont, nullptr)); in copy_table_from_font() local
883 data.reset(CGFontCopyTableForTag(cgFont.get(), tag)); in copy_table_from_font()