HomeSort by relevance Sort by last modified time
    Searched full:nextstop (Results 1 - 1 of 1) sorted by null

  /external/webkit/WebCore/platform/graphics/
Gradient.cpp 153 const ColorStop& nextStop = m_stops[stop + 1];
154 float stopFraction = (value - lastStop.stop) / (nextStop.stop - lastStop.stop);
155 *r = lastStop.red + (nextStop.red - lastStop.red) * stopFraction;
156 *g = lastStop.green + (nextStop.green - lastStop.green) * stopFraction;
157 *b = lastStop.blue + (nextStop.blue - lastStop.blue) * stopFraction;
158 *a = lastStop.alpha + (nextStop.alpha - lastStop.alpha) * stopFraction;

Completed in 50 milliseconds