Home
last modified time | relevance | path

Searched refs:lastStop (Results 1 – 4 of 4) sorted by relevance

/external/webkit/Source/WebCore/platform/graphics/qt/
DGradientQt.cpp67 qreal lastStop(0.0); in platformGradient() local
71 if (qFuzzyCompare(lastStop, qreal(stopIterator->stop))) in platformGradient()
72 lastStop = stopIterator->stop + lastStopDiff; in platformGradient()
74 lastStop = stopIterator->stop; in platformGradient()
77 lastStop = lastStop * (1.0f - innerRadius / outerRadius); in platformGradient()
79 lastStop += innerRadius / outerRadius; in platformGradient()
82 qreal stopPosition = qMin(lastStop, qreal(1.0f)); in platformGradient()
89 lastStop = stopIterator->stop; in platformGradient()
/external/webkit/Source/WebCore/platform/graphics/
DGradient.cpp168 const ColorStop& lastStop = m_stops[stop]; in getColor() local
170 float stopFraction = (value - lastStop.stop) / (nextStop.stop - lastStop.stop); in getColor()
171 *r = lastStop.red + (nextStop.red - lastStop.red) * stopFraction; in getColor()
172 *g = lastStop.green + (nextStop.green - lastStop.green) * stopFraction; in getColor()
173 *b = lastStop.blue + (nextStop.blue - lastStop.blue) * stopFraction; in getColor()
174 *a = lastStop.alpha + (nextStop.alpha - lastStop.alpha) * stopFraction; in getColor()
/external/webkit/Source/WebCore/platform/graphics/wince/
DGraphicsContextWinCE.cpp1319 const Gradient::ColorStop& lastStop = stops.last(); in gradientAverageColor() local
1320 return Color((stop.red + lastStop.red) * 0.5f in gradientAverageColor()
1321 , (stop.green + lastStop.green) * 0.5f in gradientAverageColor()
1322 , (stop.blue + lastStop.blue) * 0.5f in gradientAverageColor()
1323 , (stop.alpha + lastStop.alpha) * 0.5f); in gradientAverageColor()
/external/webkit/Source/WebCore/
DChangeLog-2009-06-1671621 Fix valgrind warning about uninitialized lastStop variable.