Home
last modified time | relevance | path

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

/external/webkit/Source/WebCore/svg/
DColorDistance.cpp36 ColorDistance::ColorDistance(const Color& fromColor, const Color& toColor) in ColorDistance() argument
37 : m_redDiff(toColor.red() - fromColor.red()) in ColorDistance()
38 , m_greenDiff(toColor.green() - fromColor.green()) in ColorDistance()
39 , m_blueDiff(toColor.blue() - fromColor.blue()) in ColorDistance()
DColorDistance.h31 ColorDistance(const Color& fromColor, const Color& toColor);
/external/webkit/Source/WebCore/page/animation/
DAnimationBase.cpp407 Color toColor = (b->*m_getter)(); in equals() local
409 if (!fromColor.isValid() && !toColor.isValid()) in equals()
414 if (!toColor.isValid()) in equals()
415 toColor = b->color(); in equals()
417 return fromColor == toColor; in equals()
423 Color toColor = (b->*m_getter)(); in blend() local
425 if (!fromColor.isValid() && !toColor.isValid()) in blend()
430 if (!toColor.isValid()) in blend()
431 toColor = b->color(); in blend()
432 (dst->*m_setter)(blendFunc(anim, fromColor, toColor, progress)); in blend()