Searched defs:blendColor (Results 1 - 1 of 1) sorted by relevance

/openjdk7/jdk/src/windows/native/sun/windows/
H A Dawt_BitmapUtil.cpp285 * with the given blendColor and alpha. If alpha == 0, the function
288 HBITMAP BitmapUtil::BlendCopy(HBITMAP hSrcBitmap, COLORREF blendColor, argument
328 pSrc[0] = GetBValue(blendColor) * alpha / 255;
329 pSrc[1] = GetGValue(blendColor) * alpha / 255;
330 pSrc[2] = GetRValue(blendColor) * alpha / 255;
333 pSrc[0] = (GetBValue(blendColor) * alpha / 255) +
335 pSrc[1] = (GetGValue(blendColor) * alpha / 255) +
337 pSrc[2] = (GetRValue(blendColor) * alpha / 255) +

Completed in 30 milliseconds