Searched defs:colorArray (Results 1 - 1 of 1) sorted by relevance
/external/webkit/Source/WebCore/css/ |
H A D | CSSParser.cpp | 4382 bool CSSParser::parseColorParameters(CSSParserValue* value, int* colorArray, bool parseAlpha) argument 4394 colorArray[0] = colorIntFromValue(v); 4402 colorArray[i] = colorIntFromValue(v); 4413 colorArray[3] = static_cast<int>(max(0.0, min(1.0, v->fValue)) * nextafter(256.0, 0.0)); 4423 bool CSSParser::parseHSLParameters(CSSParserValue* value, double* colorArray, bool parseAlpha) argument 4431 colorArray[0] = (((static_cast<int>(v->fValue) % 360) + 360) % 360) / 360.0; 4439 colorArray[i] = max(0.0, min(100.0, v->fValue)) / 100.0; // needs to be value between 0 and 1.0 4448 colorArray[3] = max(0.0, min(1.0, v->fValue));
|
Completed in 71 milliseconds