Searched refs:toColor (Results 1 – 3 of 3) sorted by relevance
36 ColorDistance::ColorDistance(const Color& fromColor, const Color& toColor) in ColorDistance() argument37 : 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()
31 ColorDistance(const Color& fromColor, const Color& toColor);
407 Color toColor = (b->*m_getter)(); in equals() local409 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() local425 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()