Lines Matching refs:pBitmap
145 BitmapWriteAccess* pBitmap = rMask.AcquireWriteAccess(); in AdaptTransparency() local
148 if (pBitmap!=NULL && pSourceBitmap!=NULL) in AdaptTransparency()
150 const sal_Int32 nWidth (pBitmap->Width()); in AdaptTransparency()
151 const sal_Int32 nHeight (pBitmap->Height()); in AdaptTransparency()
161 pBitmap->SetPixelIndex(nY, nX, static_cast<sal_uInt8>(255-nNewValue)); in AdaptTransparency()
483 BitmapEx* pBitmap = NULL; in PaintButtonBackground() local
493 pBitmap = &maButtonDownBackground; in PaintButtonBackground()
495 pBitmap = &maNormalBackground; in PaintButtonBackground()
496 if (pBitmap != NULL) in PaintButtonBackground()
498 AlphaMask aMask (pBitmap->GetSizePixel()); in PaintButtonBackground()
501 pBitmap->GetAlpha(), in PaintButtonBackground()
503 rDevice.DrawBitmapEx(maBackgroundLocation+aOffset, BitmapEx(pBitmap->GetBitmap(), aMask)); in PaintButtonBackground()