Lines Matching refs:pAcc
1028 BitmapReadAccess* pAcc = aBmp.AcquireReadAccess(); in ImplCreateScaled() local
1041 if( pAcc ) in ImplCreateScaled()
1048 if( pAcc->HasPalette() ) in ImplCreateScaled()
1050 if( pAcc->GetScanlineFormat() == BMP_FORMAT_8BIT_PAL ) in ImplCreateScaled()
1057 pLine0 = pAcc->GetScanline( nTmpY ); in ImplCreateScaled()
1058 pLine1 = pAcc->GetScanline( ++nTmpY ); in ImplCreateScaled()
1064 const BitmapColor& rCol0 = pAcc->GetPaletteColor( pLine0[ nTmpX ] ); in ImplCreateScaled()
1065 const BitmapColor& rCol2 = pAcc->GetPaletteColor( pLine1[ nTmpX ] ); in ImplCreateScaled()
1066 const BitmapColor& rCol1 = pAcc->GetPaletteColor( pLine0[ ++nTmpX ] ); in ImplCreateScaled()
1067 const BitmapColor& rCol3 = pAcc->GetPaletteColor( pLine1[ nTmpX ] ); in ImplCreateScaled()
1094 aCol0 = pAcc->GetPaletteColor( pAcc->GetPixelIndex( nTmpY, nTmpX ) ); in ImplCreateScaled()
1095 aCol1 = pAcc->GetPaletteColor( pAcc->GetPixelIndex( nTmpY, ++nTmpX ) ); in ImplCreateScaled()
1100 aCol1 = pAcc->GetPaletteColor( pAcc->GetPixelIndex( ++nTmpY, nTmpX ) ); in ImplCreateScaled()
1101 aCol0 = pAcc->GetPaletteColor( pAcc->GetPixelIndex( nTmpY--, --nTmpX ) ); in ImplCreateScaled()
1116 if( pAcc->GetScanlineFormat() == BMP_FORMAT_24BIT_TC_BGR ) in ImplCreateScaled()
1124 pLine0 = pAcc->GetScanline( nTmpY ); in ImplCreateScaled()
1125 pLine1 = pAcc->GetScanline( ++nTmpY ); in ImplCreateScaled()
1149 else if( pAcc->GetScanlineFormat() == BMP_FORMAT_24BIT_TC_RGB ) in ImplCreateScaled()
1157 pLine0 = pAcc->GetScanline( nTmpY ); in ImplCreateScaled()
1158 pLine1 = pAcc->GetScanline( ++nTmpY ); in ImplCreateScaled()
1192 aCol0 = pAcc->GetPixel( nTmpY, nTmpX ); in ImplCreateScaled()
1193 aCol1 = pAcc->GetPixel( nTmpY, ++nTmpX ); in ImplCreateScaled()
1198 aCol1 = pAcc->GetPixel( ++nTmpY, nTmpX ); in ImplCreateScaled()
1199 aCol0 = pAcc->GetPixel( nTmpY--, --nTmpX ); in ImplCreateScaled()
1217 aBmp.ReleaseAccess( pAcc ); in ImplCreateScaled()
1232 pAcc = aAlpha.AcquireReadAccess(); in ImplCreateScaled()
1234 if( pAcc ) in ImplCreateScaled()
1241 if( pAcc->GetScanlineFormat() == BMP_FORMAT_8BIT_PAL && in ImplCreateScaled()
1249 pLine0 = pAcc->GetScanline( nTmpY ); in ImplCreateScaled()
1250 pLine1 = pAcc->GetScanline( ++nTmpY ); in ImplCreateScaled()
1280 long nAlpha0 = pAcc->GetPixel( nTmpY, nTmpX ).GetIndex(); in ImplCreateScaled()
1281 long nAlpha1 = pAcc->GetPixel( nTmpY, ++nTmpX ).GetIndex(); in ImplCreateScaled()
1284 nAlpha1 = pAcc->GetPixel( ++nTmpY, nTmpX ).GetIndex(); in ImplCreateScaled()
1285 nAlpha0 = pAcc->GetPixel( nTmpY--, --nTmpX ).GetIndex(); in ImplCreateScaled()
1298 aAlpha.ReleaseAccess( pAcc ); in ImplCreateScaled()
1312 pAcc = aMsk.AcquireReadAccess(); in ImplCreateScaled()
1314 if( pAcc ) in ImplCreateScaled()
1319 if( pAcc->HasPalette() ) in ImplCreateScaled()
1322 &pAcc->GetPalette() ); in ImplCreateScaled()
1342 if( pAcc->GetScanlineFormat() == BMP_FORMAT_1BIT_MSB_PAL && in ImplCreateScaled()
1348 Scanline pSrc = pAcc->GetScanline( pMapLY[ nY ] ); in ImplCreateScaled()
1364 const BitmapColor aB( pAcc->GetBestMatchingColor( Color( COL_BLACK ) ) ); in ImplCreateScaled()
1368 if( pAcc->HasPalette() ) in ImplCreateScaled()
1374 if( pAcc->GetPaletteColor( pAcc->GetPixelIndex( pMapLY[ nY ], pMapLX[ nX ] ) ) == aB ) in ImplCreateScaled()
1387 if( pAcc->GetPixel( pMapLY[ nY ], pMapLX[ nX ] ) == aB ) in ImplCreateScaled()
1402 aMsk.ReleaseAccess( pAcc ); in ImplCreateScaled()
1429 BitmapReadAccess* pAcc = aBmp.AcquireReadAccess(); in ImplCreateRotatedScaled() local
1461 if( pAcc ) in ImplCreateRotatedScaled()
1470 if( pAcc->HasPalette() ) in ImplCreateRotatedScaled()
1488 const BitmapColor& rCol0 = pAcc->GetPaletteColor( pAcc->GetPixelIndex( nTmpY, nTmpX ) ); in ImplCreateRotatedScaled()
1489 const BitmapColor& rCol1 = pAcc->GetPaletteColor( pAcc->GetPixelIndex( nTmpY, ++nTmpX ) ); in ImplCreateRotatedScaled()
1494 const BitmapColor& rCol3 = pAcc->GetPaletteColor( pAcc->GetPixelIndex( ++nTmpY, nTmpX ) ); in ImplCreateRotatedScaled()
1495 const BitmapColor& rCol2 = pAcc->GetPaletteColor( pAcc->GetPixelIndex( nTmpY, --nTmpX ) ); in ImplCreateRotatedScaled()
1528 aCol0 = pAcc->GetPixel( nTmpY, nTmpX ); in ImplCreateRotatedScaled()
1529 aCol1 = pAcc->GetPixel( nTmpY, ++nTmpX ); in ImplCreateRotatedScaled()
1534 aCol1 = pAcc->GetPixel( ++nTmpY, nTmpX ); in ImplCreateRotatedScaled()
1535 aCol0 = pAcc->GetPixel( nTmpY, --nTmpX ); in ImplCreateRotatedScaled()
1553 aBmp.ReleaseAccess( pAcc ); in ImplCreateRotatedScaled()
1566 pAcc = aAlpha.AcquireReadAccess(); in ImplCreateRotatedScaled()
1568 if( pAcc ) in ImplCreateRotatedScaled()
1575 if( pAcc->GetScanlineFormat() == BMP_FORMAT_8BIT_PAL && in ImplCreateRotatedScaled()
1596 pLine0 = pAcc->GetScanline( nTmpY++ ); in ImplCreateRotatedScaled()
1597 pLine1 = pAcc->GetScanline( nTmpY ); in ImplCreateRotatedScaled()
1633 const long nAlpha0 = pAcc->GetPixel( nTmpY, nTmpX ).GetIndex(); in ImplCreateRotatedScaled()
1634 const long nAlpha1 = pAcc->GetPixel( nTmpY, ++nTmpX ).GetIndex(); in ImplCreateRotatedScaled()
1635 const long nAlpha3 = pAcc->GetPixel( ++nTmpY, nTmpX ).GetIndex(); in ImplCreateRotatedScaled()
1636 const long nAlpha2 = pAcc->GetPixel( nTmpY, --nTmpX ).GetIndex(); in ImplCreateRotatedScaled()
1653 aAlpha.ReleaseAccess( pAcc ); in ImplCreateRotatedScaled()