Home
last modified time | relevance | path

Searched refs:fromColor (Results 1 – 3 of 3) sorted by relevance

/external/webkit/WebCore/svg/
DColorDistance.cpp37 ColorDistance::ColorDistance(const Color& fromColor, const Color& toColor) in ColorDistance() argument
38 : m_redDiff(toColor.red() - fromColor.red()) in ColorDistance()
39 , m_greenDiff(toColor.green() - fromColor.green()) in ColorDistance()
40 , m_blueDiff(toColor.blue() - fromColor.blue()) in ColorDistance()
DColorDistance.h33 ColorDistance(const Color& fromColor, const Color& toColor);
/external/webkit/WebCore/page/animation/
DAnimationBase.cpp278 Color fromColor = (a->*m_getter)(); in equals() local
280 if (!fromColor.isValid()) in equals()
281 fromColor = a->color(); in equals()
285 return fromColor == toColor; in equals()
290 Color fromColor = (a->*m_getter)(); in blend() local
292 if (!fromColor.isValid()) in blend()
293 fromColor = a->color(); in blend()
296 (dst->*m_setter)(blendFunc(anim, fromColor, toColor, progress)); in blend()