Lines Matching refs:rTo
327 static Color approachColor( const Color& rFrom, const Color& rTo ) in approachColor() argument
332 if( rFrom.GetRed() < rTo.GetRed() ) in approachColor()
334 nDiff = rTo.GetRed() - rFrom.GetRed(); in approachColor()
337 else if( rFrom.GetRed() > rTo.GetRed() ) in approachColor()
339 nDiff = rFrom.GetRed() - rTo.GetRed(); in approachColor()
346 if( rFrom.GetGreen() < rTo.GetGreen() ) in approachColor()
348 nDiff = rTo.GetGreen() - rFrom.GetGreen(); in approachColor()
351 else if( rFrom.GetGreen() > rTo.GetGreen() ) in approachColor()
353 nDiff = rFrom.GetGreen() - rTo.GetGreen(); in approachColor()
360 if( rFrom.GetBlue() < rTo.GetBlue() ) in approachColor()
362 nDiff = rTo.GetBlue() - rFrom.GetBlue(); in approachColor()
365 else if( rFrom.GetBlue() > rTo.GetBlue() ) in approachColor()
367 nDiff = rFrom.GetBlue() - rTo.GetBlue(); in approachColor()