Searched refs:ctVariant (Results 1 – 2 of 2) sorted by relevance
/external/skia/src/ports/ |
D | SkFontMgr_mac_ct.cpp | 612 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()
|
D | SkTypeface_mac_ct.cpp | 1218 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()
|