Lines Matching refs:rTo
184 static Color approachColor( const Color& rFrom, const Color& rTo ) in approachColor() argument
189 if( rFrom.GetRed() < rTo.GetRed() ) in approachColor()
191 nDiff = rTo.GetRed() - rFrom.GetRed(); in approachColor()
194 else if( rFrom.GetRed() > rTo.GetRed() ) in approachColor()
196 nDiff = rFrom.GetRed() - rTo.GetRed(); in approachColor()
203 if( rFrom.GetGreen() < rTo.GetGreen() ) in approachColor()
205 nDiff = rTo.GetGreen() - rFrom.GetGreen(); in approachColor()
208 else if( rFrom.GetGreen() > rTo.GetGreen() ) in approachColor()
210 nDiff = rFrom.GetGreen() - rTo.GetGreen(); in approachColor()
217 if( rFrom.GetBlue() < rTo.GetBlue() ) in approachColor()
219 nDiff = rTo.GetBlue() - rFrom.GetBlue(); in approachColor()
222 else if( rFrom.GetBlue() > rTo.GetBlue() ) in approachColor()
224 nDiff = rFrom.GetBlue() - rTo.GetBlue(); in approachColor()