Home
last modified time | relevance | path

Searched refs:fontTraitsDict (Results 1 – 3 of 3) sorted by relevance

/external/skia/src/utils/mac/
DSkCTFont.cpp389 CFDictionaryRef fontTraitsDict = static_cast<CFDictionaryRef>(traitsRef.get()); in SkCTFontGetDataFontWeightMapping() local
392 if (!CFDictionaryGetValueIfPresent(fontTraitsDict, kCTFontWeightTrait, &weightRef) || in SkCTFontGetDataFontWeightMapping()
/external/skia/src/ports/
DSkTypeface_mac_ct.cpp416 CFDictionaryRef fontTraitsDict; in SkCTFontDescriptorGetSkFontStyle() local
417 if (!SkCFDynamicCast(traits.get(), &fontTraitsDict, "Font traits")) { in SkCTFontDescriptorGetSkFontStyle()
422 if (!find_dict_CGFloat(fontTraitsDict, kCTFontWeightTrait, &weight)) { in SkCTFontDescriptorGetSkFontStyle()
425 if (!find_dict_CGFloat(fontTraitsDict, kCTFontWidthTrait, &width)) { in SkCTFontDescriptorGetSkFontStyle()
428 if (!find_dict_CGFloat(fontTraitsDict, kCTFontSlantTrait, &slant)) { in SkCTFontDescriptorGetSkFontStyle()
/external/skqp/src/ports/
DSkFontHost_mac.cpp690 SkUniqueCFRef<CFDictionaryRef> fontTraitsDict(static_cast<CFDictionaryRef>(traits.release())); in fontstyle_from_descriptor() local
693 if (!find_dict_CGFloat(fontTraitsDict.get(), kCTFontWeightTrait, &weight)) { in fontstyle_from_descriptor()
696 if (!find_dict_CGFloat(fontTraitsDict.get(), kCTFontWidthTrait, &width)) { in fontstyle_from_descriptor()
699 if (!find_dict_CGFloat(fontTraitsDict.get(), kCTFontSlantTrait, &slant)) { in fontstyle_from_descriptor()