Home
last modified time | relevance | path

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

/external/skia/src/ports/
DSkFontMgr_mac_ct.cpp612 SkUniqueCFRef<CTFontRef> ctVariant; in onMakeFromStreamArgs() local
622 ctVariant.reset(CTFontCreateCopyWithAttributes(ct.get(), 0, nullptr, varDesc.get())); in onMakeFromStreamArgs()
624 ctVariant.reset(ct.release()); in onMakeFromStreamArgs()
626 if (!ctVariant) { in onMakeFromStreamArgs()
630 return SkTypeface_Mac::Make(std::move(ctVariant), ctVariation.opsz, std::move(stream)); in onMakeFromStreamArgs()
650 SkUniqueCFRef<CTFontRef> ctVariant; in onMakeFromFontData() local
660 ctVariant.reset(CTFontCreateCopyWithAttributes(ct.get(), 0, nullptr, varDesc.get())); in onMakeFromFontData()
662 ctVariant.reset(ct.release()); in onMakeFromFontData()
664 if (!ctVariant) { in onMakeFromFontData()
668 return SkTypeface_Mac::Make(std::move(ctVariant), ctVariation.opsz, in onMakeFromFontData()
DSkTypeface_mac_ct.cpp1218 SkUniqueCFRef<CTFontRef> ctVariant; in onMakeClone() local
1250 ctVariant.reset(CTFontCreateCopyWithAttributes(ctFont, 0, nullptr, varDesc.get())); in onMakeClone()
1252 ctVariant.reset((CTFontRef)CFRetain(fFontRef.get())); in onMakeClone()
1254 if (!ctVariant) { in onMakeClone()
1258 return SkTypeface_Mac::Make(std::move(ctVariant), ctVariation.opsz, in onMakeClone()