Searched refs:cgFont (Results 1 – 2 of 2) sorted by relevance
403 SkUniqueCFRef<CGFontRef> cgFont(CGFontCreateWithDataProvider(data.get())); in smooth_behavior() local404 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() local1682 if (cgFont) { in onGetAdvancedMetrics()1683 SkUniqueCFRef<CFArrayRef> cgAxes(CGFontCopyVariationAxes(cgFont.get())); in onGetAdvancedMetrics()1939 SkUniqueCFRef<CGFontRef> cgFont(CTFontCopyGraphicsFont(ctFont, nullptr)); in get_variations() local1940 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 …]
829 SkUniqueCFRef<CGFontRef> cgFont(CTFontCopyGraphicsFont(fFontRef.get(), nullptr)); in onGetUPEM() local830 return CGFontGetUnitsPerEm(cgFont.get()); in onGetUPEM()882 SkUniqueCFRef<CGFontRef> cgFont(CTFontCopyGraphicsFont(ctFont, nullptr)); in copy_table_from_font() local883 data.reset(CGFontCopyTableForTag(cgFont.get(), tag)); in copy_table_from_font()