Home
last modified time | relevance | path

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

/third_party/skia/src/utils/mac/
H A 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/
H A DSkTypeface_mac_ct.cpp339 const CGFloat(&nsFontWeights)[11] = SkCTFontGetNSFontWeightMapping();
342 nativeWeightMappings[i].dst_val = nsFontWeights[i];
366 const CGFloat(&nsFontWeights)[11] = SkCTFontGetNSFontWeightMapping();
369 nativeWeightMappings[i].src_val = nsFontWeights[i];

Completed in 3 milliseconds