Searched refs:nsFontWeights (Results 1 – 3 of 3) sorted by relevance
303 static CGFloat nsFontWeights[11]; in SkCTFontGetNSFontWeightMapping() local308 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()
565 static CGFloat nsFontWeights[11]; in get_NSFontWeight_mapping() local569 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() local600 nativeWeightMappings[i].dst_val = nsFontWeights[i]; in __anondc50e1580602()644 CGFloat(&nsFontWeights)[11] = get_NSFontWeight_mapping(); in ct_weight_to_fontstyle() local646 nativeWeightMappings[i].src_val = nsFontWeights[i]; in ct_weight_to_fontstyle()
340 const CGFloat(&nsFontWeights)[11] = SkCTFontGetNSFontWeightMapping(); in SkCTFontCTWeightForCSSWeight() local343 nativeWeightMappings[i].dst_val = nsFontWeights[i]; in SkCTFontCTWeightForCSSWeight()367 const CGFloat(&nsFontWeights)[11] = SkCTFontGetNSFontWeightMapping(); in ct_weight_to_fontstyle() local370 nativeWeightMappings[i].src_val = nsFontWeights[i]; in ct_weight_to_fontstyle()