Searched refs:rColor1 (Results 1 – 4 of 4) sorted by relevance
197 int numColorSteps( const Gdiplus::Color& rColor1, const Gdiplus::Color& rColor2 ) in numColorSteps() argument200 labs( rColor1.GetRed() - rColor2.GetRed() ), in numColorSteps()202 labs( rColor1.GetGreen() - rColor2.GetGreen() ), in numColorSteps()203 labs( rColor1.GetBlue() - rColor2.GetBlue() ) ) ); in numColorSteps()
536 int numColorSteps( const ::Color& rColor1, const ::Color& rColor2 ) in numColorSteps() argument539 labs( rColor1.GetRed() - rColor2.GetRed() ), in numColorSteps()541 labs( rColor1.GetGreen() - rColor2.GetGreen() ), in numColorSteps()542 labs( rColor1.GetBlue() - rColor2.GetBlue() ) ) ); in numColorSteps()
81 sal_Int32 lclGetColorDistance( const Color& rColor1, const Color& rColor2 ) in lclGetColorDistance() argument83 sal_Int32 nDist = rColor1.GetRed() - rColor2.GetRed(); in lclGetColorDistance()85 sal_Int32 nDummy = rColor1.GetGreen() - rColor2.GetGreen(); in lclGetColorDistance()87 nDummy = rColor1.GetBlue() - rColor2.GetBlue(); in lclGetColorDistance()
2023 static sal_Bool ImplSalIsSameColor( const Color& rColor1, const Color& rColor2 ) in ImplSalIsSameColor() argument2026 nWrong += Abs( (short)rColor1.GetRed()-(short)rColor2.GetRed() ); in ImplSalIsSameColor()2027 nWrong += Abs( (short)rColor1.GetGreen()-(short)rColor2.GetGreen() ); in ImplSalIsSameColor()2028 nWrong += Abs( (short)rColor1.GetBlue()-(short)rColor2.GetBlue() ); in ImplSalIsSameColor()
Completed in 49 milliseconds