Home
last modified time | relevance | path

Searched refs:rColor2 (Results 1 – 4 of 4) sorted by relevance

/aoo42x/main/canvas/source/directx/
H A Ddx_canvashelper_texturefill.cxx197 int numColorSteps( const Gdiplus::Color& rColor1, const Gdiplus::Color& rColor2 ) in numColorSteps() argument
200 labs( rColor1.GetRed() - rColor2.GetRed() ), in numColorSteps()
202 labs( rColor1.GetGreen() - rColor2.GetGreen() ), in numColorSteps()
203 labs( rColor1.GetBlue() - rColor2.GetBlue() ) ) ); in numColorSteps()
/aoo42x/main/canvas/source/vcl/
H A Dcanvashelper_texturefill.cxx536 int numColorSteps( const ::Color& rColor1, const ::Color& rColor2 ) in numColorSteps() argument
539 labs( rColor1.GetRed() - rColor2.GetRed() ), in numColorSteps()
541 labs( rColor1.GetGreen() - rColor2.GetGreen() ), in numColorSteps()
542 labs( rColor1.GetBlue() - rColor2.GetBlue() ) ) ); in numColorSteps()
/aoo42x/main/sc/source/filter/excel/
H A Dxestyle.cxx81 sal_Int32 lclGetColorDistance( const Color& rColor1, const Color& rColor2 ) in lclGetColorDistance() argument
83 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()
/aoo42x/main/vcl/os2/source/window/
H A Dsalframe.cxx2023 static sal_Bool ImplSalIsSameColor( const Color& rColor1, const Color& rColor2 ) in ImplSalIsSameColor() argument
2026 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 174 milliseconds