Home
last modified time | relevance | path

Searched refs:ctAxes (Results 1 – 4 of 4) sorted by relevance

/external/skia/src/ports/
DSkTypeface_mac_ct.cpp570 SkUniqueCFRef<CFArrayRef> ctAxes(CTFontCopyVariationAxes(ctFont.get())); in onGetAdvancedMetrics() local
571 if (ctAxes && CFArrayGetCount(ctAxes.get()) > 0) { in onGetAdvancedMetrics()
782 SkUniqueCFRef<CFArrayRef> ctAxes(CTFontCopyVariationAxes(fFontRef.get())); in onGetVariationDesignPosition() local
783 if (!ctAxes) { in onGetVariationDesignPosition()
786 CFIndex axisCount = CFArrayGetCount(ctAxes.get()); in onGetVariationDesignPosition()
799 if (!SkCFDynamicCast(CFArrayGetValueAtIndex(ctAxes.get(), i), &axisInfoDict, "Axis")) { in onGetVariationDesignPosition()
1115 SkUniqueCFRef<CFArrayRef> ctAxes(CTFontCopyVariationAxes(ct)); in SkCTVariationFromSkFontArguments() local
1116 if (!ctAxes) { in SkCTVariationFromSkFontArguments()
1119 CFIndex axisCount = CFArrayGetCount(ctAxes.get()); in SkCTVariationFromSkFontArguments()
1134 if (!SkCFDynamicCast(CFArrayGetValueAtIndex(ctAxes.get(), i), &axisInfoDict, "Axis")) { in SkCTVariationFromSkFontArguments()
[all …]
DSkFontMgr_mac_ct.cpp208 SkUniqueCFRef<CFArrayRef> ctAxes(CTFontCopyVariationAxes(ct)); in ctvariation_from_skfontdata() local
209 if (!ctAxes) { in ctvariation_from_skfontdata()
213 CFIndex axisCount = CFArrayGetCount(ctAxes.get()); in ctvariation_from_skfontdata()
224 CFTypeRef axisInfo = CFArrayGetValueAtIndex(ctAxes.get(), i); in ctvariation_from_skfontdata()
DSkScalerContext_mac_ct.cpp690 SkUniqueCFRef<CFArrayRef> ctAxes(CTFontCopyVariationAxes(fCTFont.get())); in generateFontMetrics() local
691 if (ctAxes && CFArrayGetCount(ctAxes.get()) > 0) { in generateFontMetrics()
/external/skqp/src/ports/
DSkFontHost_mac.cpp2006 CFArrayRef ctAxes) { in ct_variation_from_cg_variation() argument
2013 CFIndex axisCount = CFArrayGetCount(ctAxes); in ct_variation_from_cg_variation()
2015 CFTypeRef axisInfo = CFArrayGetValueAtIndex(ctAxes, i); in ct_variation_from_cg_variation()
2050 SkUniqueCFRef<CFArrayRef> ctAxes(CTFontCopyVariationAxes(fFontRef.get())); in onGetVariationDesignPosition() local
2051 if (!ctAxes) { in onGetVariationDesignPosition()
2054 CFIndex axisCount = CFArrayGetCount(ctAxes.get()); in onGetVariationDesignPosition()
2074 ctVariations = ct_variation_from_cg_variation(cgVariations.get(), ctAxes.get()); in onGetVariationDesignPosition()
2081 CFTypeRef axisInfo = CFArrayGetValueAtIndex(ctAxes.get(), i); in onGetVariationDesignPosition()
2632 SkUniqueCFRef<CFArrayRef> ctAxes(CTFontCopyVariationAxes(ct.get())); in copy_axes() local
2633 if (!ctAxes) { in copy_axes()
[all …]