Home
last modified time | relevance | path

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

/external/skia/src/utils/mac/
DSkCTFont.cpp303 static CGFloat nsFontWeights[11]; in SkCTFontGetNSFontWeightMapping() local
308 nsFontWeights[i++] = -1.00; in SkCTFontGetNSFontWeightMapping()
312 nsFontWeights[i++] = *(static_cast<CGFloat*>(nsFontWeightValuePtr)); in SkCTFontGetNSFontWeightMapping()
317 nsFontWeights[i++] = 1.00; in SkCTFontGetNSFontWeightMapping()
318 selectedNSFontWeights = &nsFontWeights; in SkCTFontGetNSFontWeightMapping()
/external/skqp/src/ports/
DSkFontHost_mac.cpp565 static CGFloat nsFontWeights[11]; in get_NSFontWeight_mapping() local
569 nsFontWeights[i++] = -1.00; in get_NSFontWeight_mapping()
573 nsFontWeights[i++] = *(static_cast<CGFloat*>(nsFontWeightValuePtr)); in get_NSFontWeight_mapping()
575 nsFontWeights[i++] = nsFontWeightLoaderInfo.defaultValue; in get_NSFontWeight_mapping()
578 nsFontWeights[i++] = 1.00; in get_NSFontWeight_mapping()
580 return nsFontWeights; in get_NSFontWeight_mapping()
597 CGFloat(&nsFontWeights)[11] = get_NSFontWeight_mapping(); in __anondc50e1580602() local
600 nativeWeightMappings[i].dst_val = nsFontWeights[i]; in __anondc50e1580602()
644 CGFloat(&nsFontWeights)[11] = get_NSFontWeight_mapping(); in ct_weight_to_fontstyle() local
646 nativeWeightMappings[i].src_val = nsFontWeights[i]; in ct_weight_to_fontstyle()
/external/skia/src/ports/
DSkTypeface_mac_ct.cpp340 const CGFloat(&nsFontWeights)[11] = SkCTFontGetNSFontWeightMapping(); in SkCTFontCTWeightForCSSWeight() local
343 nativeWeightMappings[i].dst_val = nsFontWeights[i]; in SkCTFontCTWeightForCSSWeight()
367 const CGFloat(&nsFontWeights)[11] = SkCTFontGetNSFontWeightMapping(); in ct_weight_to_fontstyle() local
370 nativeWeightMappings[i].src_val = nsFontWeights[i]; in ct_weight_to_fontstyle()