Searched refs:nsFontWeights (Results 1 – 2 of 2) 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()
339 const CGFloat(&nsFontWeights)[11] = SkCTFontGetNSFontWeightMapping(); in SkCTFontCTWeightForCSSWeight() local342 nativeWeightMappings[i].dst_val = nsFontWeights[i]; in SkCTFontCTWeightForCSSWeight()366 const CGFloat(&nsFontWeights)[11] = SkCTFontGetNSFontWeightMapping(); in ct_weight_to_fontstyle() local369 nativeWeightMappings[i].src_val = nsFontWeights[i]; in ct_weight_to_fontstyle()