Searched refs:nComp2 (Results 1 – 2 of 2) sorted by relevance
711 double nComp2 = nVal2; in IsValid() local714 if ( nComp1 > nComp2 ) in IsValid()717 double nTemp = nComp1; nComp1 = nComp2; nComp2 = nTemp; in IsValid()746 bValid = ( nArg >= nComp1 && nArg <= nComp2 ) || in IsValid()747 ::rtl::math::approxEqual( nArg, nComp1 ) || ::rtl::math::approxEqual( nArg, nComp2 ); in IsValid()750 bValid = ( nArg < nComp1 || nArg > nComp2 ) && in IsValid()751 !::rtl::math::approxEqual( nArg, nComp1 ) && !::rtl::math::approxEqual( nArg, nComp2 ); in IsValid()
92 sal_uInt8 lclGetMergedColorComp( sal_uInt8 nComp1, sal_uInt32 nWeight1, sal_uInt8 nComp2, sal_uInt3… in lclGetMergedColorComp() argument95 sal_uInt8 nComp2Dist = ::std::min< sal_uInt8 >( nComp2, 0xFF - nComp2 ); in lclGetMergedColorComp()100 const sal_uInt8& rnCompNearer = (nComp1Dist < nComp2Dist) ? nComp1 : nComp2; in lclGetMergedColorComp()105 return static_cast< sal_uInt8 >( (nComp1 * nWeight1 + nComp2 * nWeight2 + nWSum / 2) / nWSum ); in lclGetMergedColorComp()
Completed in 24 milliseconds