Lines Matching refs:nAlpha
838 const double nAlpha( m_nAlphaIndex != -1 ? 1.0 - deviceColor[i+m_nAlphaIndex] : 1.0 ); in convertToARGB() local
839 *pOut++ = rendering::ARGBColor(nAlpha, in convertToARGB()
853 const double nAlpha( m_nAlphaIndex != -1 ? 1.0 - deviceColor[i+m_nAlphaIndex] : 1.0 ); in convertToARGB() local
855 nAlpha, in convertToARGB()
891 const double nAlpha( m_nAlphaIndex != -1 ? 1.0 - deviceColor[i+m_nAlphaIndex] : 1.0 ); in convertToPARGB() local
892 *pOut++ = rendering::ARGBColor(nAlpha, in convertToPARGB()
893 nAlpha*toDoubleColor(aCol.GetRed()), in convertToPARGB()
894 nAlpha*toDoubleColor(aCol.GetGreen()), in convertToPARGB()
895 nAlpha*toDoubleColor(aCol.GetBlue())); in convertToPARGB()
906 const double nAlpha( m_nAlphaIndex != -1 ? 1.0 - deviceColor[i+m_nAlphaIndex] : 1.0 ); in convertToPARGB() local
908 nAlpha, in convertToPARGB()
909 nAlpha*deviceColor[i+m_nRedIndex], in convertToPARGB()
910 nAlpha*deviceColor[i+m_nGreenIndex], in convertToPARGB()
911 nAlpha*deviceColor[i+m_nBlueIndex]); in convertToPARGB()
1012 const double nAlpha( rgbColor[i].Alpha ); in convertFromPARGB() local
1014 BitmapColor(toByteColor(rgbColor[i].Red / nAlpha), in convertFromPARGB()
1015 toByteColor(rgbColor[i].Green / nAlpha), in convertFromPARGB()
1016 toByteColor(rgbColor[i].Blue / nAlpha))); in convertFromPARGB()
1018 pColors[m_nAlphaIndex] = nAlpha; in convertFromPARGB()
1027 const double nAlpha( rgbColor[i].Alpha ); in convertFromPARGB() local
1028 pColors[m_nRedIndex] = rgbColor[i].Red / nAlpha; in convertFromPARGB()
1029 pColors[m_nGreenIndex] = rgbColor[i].Green / nAlpha; in convertFromPARGB()
1030 pColors[m_nBlueIndex] = rgbColor[i].Blue / nAlpha; in convertFromPARGB()
1032 pColors[m_nAlphaIndex] = nAlpha; in convertFromPARGB()
1087 … const double nAlpha( m_nAlphaIndex != -1 ? 1.0 - deviceColor[i+m_nAlphaIndex] : 1.0 ); in convertFromIntegerColorSpace() local
1091 *pOut++ = nAlpha; in convertFromIntegerColorSpace()
1102 … const double nAlpha( m_nAlphaIndex != -1 ? 1.0 - deviceColor[i+m_nAlphaIndex] : 1.0 ); in convertFromIntegerColorSpace() local
1106 *pOut++ = nAlpha; in convertFromIntegerColorSpace()
1275 const double nAlpha( 1.0 - toDoubleColor(nAlphaFactor*pIn[nNonAlphaBytes]) ); in convertIntegerToPARGB() local
1276 *pOut++ = rendering::ARGBColor(nAlpha, in convertIntegerToPARGB()
1277 nAlpha*toDoubleColor(aCol.GetRed()), in convertIntegerToPARGB()
1278 nAlpha*toDoubleColor(aCol.GetGreen()), in convertIntegerToPARGB()
1279 nAlpha*toDoubleColor(aCol.GetBlue())); in convertIntegerToPARGB()
1416 const double nAlpha( rgbColor[i].Alpha ); in convertIntegerFromPARGB() local
1417 const BitmapColor aCol(toByteColor(rgbColor[i].Red / nAlpha), in convertIntegerFromPARGB()
1418 toByteColor(rgbColor[i].Green / nAlpha), in convertIntegerFromPARGB()
1419 toByteColor(rgbColor[i].Blue / nAlpha)); in convertIntegerFromPARGB()
1428 *pColors++ = 255 - toByteColor(nAlpha); in convertIntegerFromPARGB()