Lines Matching refs:pAcc
245 BitmapWriteAccess* pAcc = AcquireWriteAccess(); in Invert() local
248 if( pAcc && pAcc->GetBitCount() == 8 ) in Invert()
251 const long nWidth = pAcc->Width(), nHeight = pAcc->Height(); in Invert()
261 aCol.SetIndex( pMap[ pAcc->GetPixel( nY, nX ).GetIndex() ] ); in Invert()
262 pAcc->SetPixel( nY, nX, aCol ); in Invert()
270 if( pAcc ) in Invert()
271 ReleaseAccess( pAcc ); in Invert()
319 BitmapWriteAccess* pAcc = AcquireWriteAccess(); in Replace() local
322 if( pMaskAcc && pAcc ) in Replace()
325 const long nWidth = Min( pMaskAcc->Width(), pAcc->Width() ); in Replace()
326 const long nHeight = Min( pMaskAcc->Height(), pAcc->Height() ); in Replace()
332 pAcc->SetPixel( nY, nX, aReplace ); in Replace()
336 ReleaseAccess( pAcc ); in Replace()
349 BitmapWriteAccess* pAcc = AcquireWriteAccess(); in Replace() local
354 if( pAcc && pAcc->GetBitCount() == 8 ) in Replace()
356 const long nWidth = pAcc->Width(), nHeight = pAcc->Height(); in Replace()
358 if( pAcc->GetScanlineFormat() == BMP_FORMAT_8BIT_PAL ) in Replace()
362 Scanline pScan = pAcc->GetScanline( nY ); in Replace()
379 if( pAcc->GetPixel( nY, nX ).GetIndex() == cSearchTransparency ) in Replace()
380 pAcc->SetPixel( nY, nX, aReplace ); in Replace()
388 if( pAcc ) in Replace()
389 ReleaseAccess( pAcc ); in Replace()