Home
last modified time | relevance | path

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

/external/skia/src/ports/
DSkFontMgr_mac_ct.cpp610 CTFontVariation ctVariation = SkCTVariationFromSkFontArguments(ct.get(), args); in onMakeFromStreamArgs() local
613 if (ctVariation.variation) { in onMakeFromStreamArgs()
619 kCTFontVariationAttribute, ctVariation.variation.get()); in onMakeFromStreamArgs()
630 return SkTypeface_Mac::Make(std::move(ctVariant), ctVariation.opsz, std::move(stream)); in onMakeFromStreamArgs()
648 CTFontVariation ctVariation = ctvariation_from_skfontdata(ct.get(), fontData.get()); in onMakeFromFontData() local
651 if (ctVariation.variation) { in onMakeFromFontData()
657 kCTFontVariationAttribute, ctVariation.variation.get()); in onMakeFromFontData()
668 return SkTypeface_Mac::Make(std::move(ctVariant), ctVariation.opsz, in onMakeFromFontData()
DSkTypeface_mac_ct.cpp792 SkUniqueCFRef<CFDictionaryRef> ctVariation(CTFontCopyVariation(fFontRef.get())); in onGetVariationDesignPosition() local
793 if (!ctVariation) { in onGetVariationDesignPosition()
812 CFTypeRef value = CFDictionaryGetValue(ctVariation.get(), tagNumber); in onGetVariationDesignPosition()
1216 CTFontVariation ctVariation = SkCTVariationFromSkFontArguments(fFontRef.get(), args); in onMakeClone() local
1219 if (ctVariation.variation) { in onMakeClone()
1227 if (ctVariation.wrongOpszVariation) { in onMakeClone()
1239 kCTFontVariationAttribute, ctVariation.wrongOpszVariation.get()); in onMakeClone()
1247 kCTFontVariationAttribute, ctVariation.variation.get()); in onMakeClone()
1258 return SkTypeface_Mac::Make(std::move(ctVariant), ctVariation.opsz, in onMakeClone()