Searched refs:fromColor (Results 1 – 3 of 3) sorted by relevance
37 ColorDistance::ColorDistance(const Color& fromColor, const Color& toColor) in ColorDistance() argument38 : 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()
33 ColorDistance(const Color& fromColor, const Color& toColor);
278 Color fromColor = (a->*m_getter)(); in equals() local280 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() local292 if (!fromColor.isValid()) in blend()293 fromColor = a->color(); in blend()296 (dst->*m_setter)(blendFunc(anim, fromColor, toColor, progress)); in blend()