Home
last modified time | relevance | path

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

/third_party/skia/src/utils/mac/
DSkCTFont.cpp389 CFDictionaryRef fontTraitsDict = static_cast<CFDictionaryRef>(traitsRef.get()); in SkCTFontGetDataFontWeightMapping() local
392 if (!CFDictionaryGetValueIfPresent(fontTraitsDict, kCTFontWeightTrait, &weightRef) || in SkCTFontGetDataFontWeightMapping()
/third_party/skia/src/ports/
DSkTypeface_mac_ct.cpp415 CFDictionaryRef fontTraitsDict; in SkCTFontDescriptorGetSkFontStyle() local
416 if (!SkCFDynamicCast(traits.get(), &fontTraitsDict, "Font traits")) { in SkCTFontDescriptorGetSkFontStyle()
421 if (!find_dict_CGFloat(fontTraitsDict, kCTFontWeightTrait, &weight)) { in SkCTFontDescriptorGetSkFontStyle()
424 if (!find_dict_CGFloat(fontTraitsDict, kCTFontWidthTrait, &width)) { in SkCTFontDescriptorGetSkFontStyle()
427 if (!find_dict_CGFloat(fontTraitsDict, kCTFontSlantTrait, &slant)) { in SkCTFontDescriptorGetSkFontStyle()
/third_party/flutter/skia/src/ports/
DSkFontHost_mac.cpp679 SkUniqueCFRef<CFDictionaryRef> fontTraitsDict(static_cast<CFDictionaryRef>(traits.release())); in fontstyle_from_descriptor() local
682 if (!find_dict_CGFloat(fontTraitsDict.get(), kCTFontWeightTrait, &weight)) { in fontstyle_from_descriptor()
685 if (!find_dict_CGFloat(fontTraitsDict.get(), kCTFontWidthTrait, &width)) { in fontstyle_from_descriptor()
688 if (!find_dict_CGFloat(fontTraitsDict.get(), kCTFontSlantTrait, &slant)) { in fontstyle_from_descriptor()