Lines Matching refs:rTo
1011 static basebmp::Color approachColor( const basebmp::Color& rFrom, const basebmp::Color& rTo ) in approachColor() argument
1016 if( rFrom.getRed() < rTo.getRed() ) in approachColor()
1018 nDiff = rTo.getRed() - rFrom.getRed(); in approachColor()
1021 else if( rFrom.getRed() > rTo.getRed() ) in approachColor()
1023 nDiff = rFrom.getRed() - rTo.getRed(); in approachColor()
1030 if( rFrom.getGreen() < rTo.getGreen() ) in approachColor()
1032 nDiff = rTo.getGreen() - rFrom.getGreen(); in approachColor()
1035 else if( rFrom.getGreen() > rTo.getGreen() ) in approachColor()
1037 nDiff = rFrom.getGreen() - rTo.getGreen(); in approachColor()
1044 if( rFrom.getBlue() < rTo.getBlue() ) in approachColor()
1046 nDiff = rTo.getBlue() - rFrom.getBlue(); in approachColor()
1049 else if( rFrom.getBlue() > rTo.getBlue() ) in approachColor()
1051 nDiff = rFrom.getBlue() - rTo.getBlue(); in approachColor()