Lines Matching refs:nOpacity
79 sal_uInt16 nOpacity(0); in BPixelRasterToBitmapEx() local
90 nOpacity = nOpacity + rPixel.getOpacity(); in BPixelRasterToBitmapEx()
96 nOpacity = nOpacity / nDivisor; in BPixelRasterToBitmapEx()
98 if(nOpacity) in BPixelRasterToBitmapEx()
104 pAlpha->SetPixel(y, x, BitmapColor(255 - (sal_uInt8)nOpacity)); in BPixelRasterToBitmapEx()
417 …const sal_uInt16 nOpacity(::std::max((sal_Int16)0, static_cast< sal_Int16 >(decideColorAndOpacity(… in processLineSpan() local
419 if(nOpacity > 0) in processLineSpan()
424 if(nOpacity >= 0x00ff) in processLineSpan()
438 const sal_uInt16 nTransparence(0x0100 - nOpacity); in processLineSpan()
439 …(((rDest.getRed() * nTransparence) + ((sal_uInt16)(255.0 * aNewColor.getRed()) * nOpacity)) >> 8)); in processLineSpan()
440 …Dest.getGreen() * nTransparence) + ((sal_uInt16)(255.0 * aNewColor.getGreen()) * nOpacity)) >> 8)); in processLineSpan()
441 …(rDest.getBlue() * nTransparence) + ((sal_uInt16)(255.0 * aNewColor.getBlue()) * nOpacity)) >> 8)); in processLineSpan()
447 …rDest.setOpacity(((sal_uInt8)((nOpacity * (0x0100 - rDest.getOpacity())) >> 8)) + rDest.getOpacity… in processLineSpan()
453 rDest = basegfx::BPixel(aNewColor, (sal_uInt8)nOpacity); in processLineSpan()