/aoo41x/main/canvas/source/directx/ |
H A D | dx_vcltools.cxx | 176 ScopedBitmapReadAccess pReadAccess( aBitmap.AcquireReadAccess(), in bitmapFromVCLBitmapEx() local 182 ENSURE_OR_THROW( pReadAccess.get() != NULL, in bitmapFromVCLBitmapEx() 226 switch( pReadAccess->GetScanlineFormat() ) in bitmapFromVCLBitmapEx() 230 Scanline pScan = pReadAccess->GetScanline( y ); in bitmapFromVCLBitmapEx() 235 aCol = pReadAccess->GetPaletteColor( *pScan++ ); in bitmapFromVCLBitmapEx() 251 Scanline pScan = pReadAccess->GetScanline( y ); in bitmapFromVCLBitmapEx() 287 aCol = pReadAccess->GetColor(y,x); in bitmapFromVCLBitmapEx() 384 switch( pReadAccess->GetScanlineFormat() ) in bitmapFromVCLBitmapEx() 388 Scanline pScan = pReadAccess->GetScanline( y ); in bitmapFromVCLBitmapEx() 393 aCol = pReadAccess->GetPaletteColor( *pScan++ ); in bitmapFromVCLBitmapEx() [all …]
|
/aoo41x/main/canvas/source/vcl/ |
H A D | canvasbitmaphelper.cxx | 147 ScopedBitmapReadAccess pReadAccess( aBitmap.AcquireReadAccess(), in getData() local 153 ENSURE_OR_THROW( pReadAccess.get() != NULL, in getData() 178 pRes[ nCurrPos++ ] = pReadAccess->GetColor( y, x ).GetRed(); in getData() 179 pRes[ nCurrPos++ ] = pReadAccess->GetColor( y, x ).GetGreen(); in getData() 180 pRes[ nCurrPos++ ] = pReadAccess->GetColor( y, x ).GetBlue(); in getData() 190 pRes[ nCurrPos++ ] = pReadAccess->GetColor( y, x ).GetRed(); in getData() 191 pRes[ nCurrPos++ ] = pReadAccess->GetColor( y, x ).GetGreen(); in getData() 192 pRes[ nCurrPos++ ] = pReadAccess->GetColor( y, x ).GetBlue(); in getData() 523 ScopedBitmapReadAccess pReadAccess( aBitmap.AcquireReadAccess(), in getPixel() local 528 ENSURE_OR_THROW( pReadAccess.get() != NULL, in getPixel() [all …]
|
H A D | impltools.cxx | 274 ScopedBitmapReadAccess pReadAccess( aSrcBitmap.AcquireReadAccess(), in transformBitmap() local 281 if( pReadAccess.get() == NULL || in transformBitmap() 323 Bitmap aDstBitmap( aDestBmpSize, aSrcBitmap.GetBitCount(), &pReadAccess->GetPalette() ); in transformBitmap() 389 BitmapColor aColor( pReadAccess->GetPixel( nSrcY, nSrcX ) ); in transformBitmap() 439 BitmapColor aColor( pReadAccess->GetPixel( nSrcY, in transformBitmap() 484 … pWriteAccess->SetPixel( y, x, pReadAccess->GetPixel( nSrcY, nSrcX ) ); in transformBitmap() 505 pWriteAccess->SetPixel( y, x, pReadAccess->GetPixel( nSrcY, in transformBitmap()
|
H A D | canvashelper.cxx | 975 ScopedBitmapReadAccess pReadAccess( aBitmap.AcquireReadAccess(), in getData() local 978 ENSURE_OR_THROW( pReadAccess.get() != NULL, in getData() 996 pRes[ nCurrPos++ ] = pReadAccess->GetColor( y, x ).GetRed(); in getData() 997 pRes[ nCurrPos++ ] = pReadAccess->GetColor( y, x ).GetGreen(); in getData() 998 pRes[ nCurrPos++ ] = pReadAccess->GetColor( y, x ).GetBlue(); in getData() 1042 ScopedBitmapReadAccess pReadAccess( aTmpBitmap.AcquireReadAccess(), in setData() local 1045 pPalette = &pReadAccess->GetPalette(); in setData()
|
/aoo41x/main/svtools/source/graphic/ |
H A D | transformer.cxx | 68 BitmapReadAccess* pReadAccess = rBitmap.AcquireReadAccess(); in setAlpha() local 69 if ( pReadAccess && pWriteAccess ) in setAlpha() 71 for ( sal_Int32 nY = 0; nY < pReadAccess->Height(); nY++ ) in setAlpha() 73 for ( sal_Int32 nX = 0; nX < pReadAccess->Width(); nX++ ) in setAlpha() 75 const sal_uInt8 cIndex = pReadAccess->GetPixelIndex( nY, nX ); in setAlpha() 81 rBitmap.ReleaseAccess( pReadAccess ); in setAlpha()
|
/aoo41x/main/sd/source/ui/slidesorter/view/ |
H A D | SlsFramePainter.cxx | 98 BitmapReadAccess* pReadAccess = maCenter.maBitmap.GetBitmap().AcquireReadAccess(); in AdaptColor() local 99 if (pReadAccess == NULL) in AdaptColor() 101 const Color aSourceColor = pReadAccess->GetColor(0,0); in AdaptColor() 102 maCenter.maBitmap.GetBitmap().ReleaseAccess(pReadAccess); in AdaptColor()
|
/aoo41x/main/vcl/source/gdi/ |
H A D | bitmapex.cxx | 1040 BitmapReadAccess* pReadAccess = aChangedBitmap.AcquireReadAccess(); in ModifyBitmapEx() local 1041 OSL_ENSURE(pReadAccess, "Got no Bitmap ReadAccess ?!?"); in ModifyBitmapEx() 1043 if(pReadAccess) in ModifyBitmapEx() 1045 BitmapPalette aNewPalette(pReadAccess->GetPalette()); in ModifyBitmapEx() 1051 delete pReadAccess; in ModifyBitmapEx()
|
H A D | bitmap.cxx | 496 BitmapReadAccess* pReadAccess = new BitmapReadAccess( *this ); in AcquireReadAccess() local 498 if( !*pReadAccess ) in AcquireReadAccess() 500 delete pReadAccess; in AcquireReadAccess() 501 pReadAccess = NULL; in AcquireReadAccess() 504 return pReadAccess; in AcquireReadAccess()
|
/aoo41x/main/cui/source/dialogs/ |
H A D | colorpicker.cxx | 628 BitmapReadAccess* pReadAccess = mpBitmap->AcquireReadAccess(); in ShowPosition() local 629 if( pReadAccess != NULL ) in ShowPosition() 632 maColor = pReadAccess->GetPixel( nY, nX ); in ShowPosition() 633 mpBitmap->ReleaseAccess( pReadAccess ); in ShowPosition() 634 pReadAccess = NULL; in ShowPosition()
|
/aoo41x/main/svx/source/svdraw/ |
H A D | svdoashp.cxx | 301 BitmapReadAccess* pReadAccess = aBitmap.AcquireReadAccess(); in ImpCreateShadowObjectClone() local 303 if(pReadAccess) in ImpCreateShadowObjectClone() 310 for(sal_Int32 y(0L); y < pReadAccess->Height(); y++) in ImpCreateShadowObjectClone() 312 for(sal_Int32 x(0L); x < pReadAccess->Width(); x++) in ImpCreateShadowObjectClone() 314 sal_uInt16 nLuminance((sal_uInt16)pReadAccess->GetLuminance(y, x) + 1); in ImpCreateShadowObjectClone() 326 aBitmap.ReleaseAccess(pReadAccess); in ImpCreateShadowObjectClone()
|