Home
last modified time | relevance | path

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

/third_party/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()
/third_party/skia/src/ports/
DSkTypeface_mac_ct.cpp339 const CGFloat(&nsFontWeights)[11] = SkCTFontGetNSFontWeightMapping(); in SkCTFontCTWeightForCSSWeight() local
342 nativeWeightMappings[i].dst_val = nsFontWeights[i]; in SkCTFontCTWeightForCSSWeight()
366 const CGFloat(&nsFontWeights)[11] = SkCTFontGetNSFontWeightMapping(); in ct_weight_to_fontstyle() local
369 nativeWeightMappings[i].src_val = nsFontWeights[i]; in ct_weight_to_fontstyle()