Searched refs:lum1 (Results 1 – 1 of 1) sorted by relevance
1255 float lum1 = color1.luminance(); in checkContrastRatio() local1258 if (lum1 >= lum2) { in checkContrastRatio()1259 cr = (lum1 + 0.05) / (lum2 + 0.05); in checkContrastRatio()1261 cr = (lum2 + 0.05) / (lum1 + 0.05); in checkContrastRatio()