/trunk/main/vcl/source/gdi/ |
H A D | outdev2.cxx | 583 Bitmap aBmp( rBitmap ); in ImplDrawBitmap() local 605 else if( !!aBmp ) in ImplDrawBitmap() 636 if( !aBmp.IsEmpty() ) in ImplDrawBitmap() 654 aBmp.Mirror( nMirrFlags ); in ImplDrawBitmap() 1529 Bitmap aBmp; in GetBitmap() local 1627 return aBmp; in GetBitmap() 1982 aBmp.ReleaseAccess( pB ); in ImplBlendWithAlpha() 2021 aBmp.ReleaseAccess( pB ); in ImplBlendWithAlpha() 2022 res = aBmp; in ImplBlendWithAlpha() 2081 aBmp.ReleaseAccess( pB ); in ImplBlend() [all …]
|
H A D | print2.cxx | 207 Bitmap aBmp( aBmpEx.GetBitmap() ); in ImplConvertTransparentAction() local 221 aBmp.ReleaseAccess(pRA); in ImplConvertTransparentAction() 251 aBmp )); in ImplConvertTransparentAction() 257 aBmp )); in ImplConvertTransparentAction() 1375 Bitmap aBmp( rBmp ); in GetDownsampledBitmap() local 1377 if( !aBmp.IsEmpty() ) in GetDownsampledBitmap() 1387 aBmp.Crop( aSrcRect ); in GetDownsampledBitmap() 1389 aBmp.SetEmpty(); in GetDownsampledBitmap() 1392 if( !aBmp.IsEmpty() ) in GetDownsampledBitmap() 1430 aBmp.SetEmpty(); in GetDownsampledBitmap() [all …]
|
H A D | pngwrite.cxx | 135 Bitmap aBmp( rBmpEx.GetBitmap() ); in PNGWriterImpl() local 159 mnBitsPerPixel = (sal_uInt8)aBmp.GetBitCount(); in PNGWriterImpl() 165 aBmp.Convert( BMP_CONVERSION_24BIT ); in PNGWriterImpl() 171 aBmp.Convert( BMP_CONVERSION_8BIT_TRANS ); in PNGWriterImpl() 172 aBmp.Replace( rBmpEx.GetMask(), BMP_COL_TRANS ); in PNGWriterImpl() 174 mpAccess = aBmp.AcquireReadAccess(); in PNGWriterImpl() 184 aBmp.ReleaseAccess( mpAccess ); in PNGWriterImpl() 191 mpAccess = aBmp.AcquireReadAccess(); // sal_True RGB with alphachannel in PNGWriterImpl() 226 aBmp.ReleaseAccess( mpAccess ); in PNGWriterImpl() 234 mpAccess = aBmp.AcquireReadAccess(); // palette + RGB without alphachannel in PNGWriterImpl() [all …]
|
H A D | cvtsvm.cxx | 985 Bitmap aBmp; in ImplConvertFromSVM1() local 988 ReadDIB(aBmp, rIStm, true); in ImplConvertFromSVM1() 989 rMtf.AddAction( new MetaBmpAction( aPt, aBmp ) ); in ImplConvertFromSVM1() 995 Bitmap aBmp; in ImplConvertFromSVM1() local 998 ReadDIB(aBmp, rIStm, true); in ImplConvertFromSVM1() 999 rMtf.AddAction( new MetaBmpScaleAction( aPt, aSz, aBmp ) ); in ImplConvertFromSVM1() 1005 Bitmap aBmp; in ImplConvertFromSVM1() local 1009 ReadDIB(aBmp, rIStm, true); in ImplConvertFromSVM1() 1875 WriteDIB(aBmp, rOStm, false, true); in ImplWriteActions() 1889 WriteDIB(aBmp, rOStm, false, true); in ImplWriteActions() [all …]
|
/trunk/main/filter/source/graphicfilter/expm/ |
H A D | expm.cxx | 93 Bitmap aBmp; in WriteXPM() local 108 aBmp = aBmpEx.GetBitmap(); in WriteXPM() 113 if ( aBmp.GetBitCount() >= 8 ) // wenn noetig Bild auf 8 bit konvertieren in WriteXPM() 114 aBmp.Convert( BMP_CONVERSION_8BIT_TRANS ); in WriteXPM() 116 aBmp.Convert( BMP_CONVERSION_4BIT_TRANS ); in WriteXPM() 117 aBmp.Replace( aBmpEx.GetMask(), BMP_COL_TRANS ); in WriteXPM() 121 if ( aBmp.GetBitCount() > 8 ) // wenn noetig Bild auf 8 bit konvertieren in WriteXPM() 122 aBmp.Convert( BMP_CONVERSION_8BIT_COLORS ); in WriteXPM() 124 mpAcc = aBmp.AcquireReadAccess(); in WriteXPM() 137 aBmp.ReleaseAccess( mpAcc ); in WriteXPM()
|
/trunk/main/svtools/source/filter/jpeg/ |
H A D | jpeg.cxx | 332 aBmp.ReleaseAccess( pAcc ); in ~JPEGReader() 350 aBmp.ReleaseAccess( pAcc ); in CreateBitmap() 351 aBmp = Bitmap(); in CreateBitmap() 375 aBmp = Bitmap( aSize, 8, &aGrayPal ); in CreateBitmap() 378 aBmp = Bitmap( aSize, 24 ); in CreateBitmap() 394 aBmp.SetPrefSize( aPrefSize ); in CreateBitmap() 399 pAcc = aBmp.AcquireWriteAccess(); in CreateBitmap() 426 aBmp.ReleaseAccess( pAcc ); in CreateBitmap() 427 aBmp = Bitmap(); in CreateBitmap() 606 aBmp.ReleaseAccess( pAcc ); in Read() [all …]
|
/trunk/main/svx/source/tbxctrls/ |
H A D | tbxcolorupdate.cxx | 85 Bitmap aBmp( aBmpEx.GetBitmap() ); in Update() local 86 BitmapWriteAccess* pBmpAcc = aBmp.IsEmpty() ? NULL : aBmp.AcquireWriteAccess(); in Update() 88 maBmpSize = aBmp.GetSizePixel(); in Update() 178 aBmp.ReleaseAccess( pBmpAcc ); in Update() 184 aBmpEx = BitmapEx( aBmp, AlphaMask( aMsk ) ); in Update() 186 aBmpEx = BitmapEx( aBmp, aMsk ); in Update() 188 aBmpEx = aBmp; in Update()
|
H A D | linectrl.cxx | 537 Bitmap aBmp = maLineEndList->GetUiBitmap( nCount ); in FillValueSet() local 538 OSL_ENSURE( !aBmp.IsEmpty(), "UI-Bitmap wurde nicht erzeugt" ); in FillValueSet() 540 aBmpSize = aBmp.GetSizePixel(); in FillValueSet() 546 aVD.DrawBitmap( Point(), aBmp ); in FillValueSet() 556 aBmp = maLineEndList->GetUiBitmap( i ); in FillValueSet() 557 OSL_ENSURE( !aBmp.IsEmpty(), "UI-Bitmap wurde nicht erzeugt" ); in FillValueSet() 559 aVD.DrawBitmap( aPt0, aBmp ); in FillValueSet()
|
/trunk/main/sc/source/ui/sidebar/ |
H A D | CellBorderUpdater.cxx | 47 Bitmap aBmp( aBmpEx.GetBitmap() ); in UpdateCellBorder() local 48 BitmapWriteAccess* pBmpAcc = aBmp.AcquireWriteAccess(); in UpdateCellBorder() 49 const Size maBmpSize = aBmp.GetSizePixel(); in UpdateCellBorder() 112 aBmp.ReleaseAccess( pBmpAcc ); in UpdateCellBorder() 117 aBmpEx = BitmapEx( aBmp, AlphaMask( aMsk ) ); in UpdateCellBorder() 119 aBmpEx = BitmapEx( aBmp, aMsk ); in UpdateCellBorder() 121 aBmpEx = aBmp; in UpdateCellBorder()
|
/trunk/main/svtools/source/filter/wmf/ |
H A D | winwmf.cxx | 547 Bitmap aBmp( Size( nWidth, nHeight ), nBitCount ); in ReadRecordParams() local 549 pAcc = aBmp.AcquireWriteAccess(); in ReadRecordParams() 570 aBmp.ReleaseAccess( pAcc ); in ReadRecordParams() 576 aBmp.Crop( aCropRect ); in ReadRecordParams() 592 Bitmap aBmp; in ReadRecordParams() local 619 ReadDIB(aBmp, *pWMF, false); in ReadRecordParams() 627 aBmp.Crop( aCropRect ); in ReadRecordParams() 637 Bitmap aBmp; in ReadRecordParams() local 644 ReadDIB(aBmp, *pWMF, false); in ReadRecordParams() 645 pBmp = aBmp.AcquireReadAccess(); in ReadRecordParams() [all …]
|
H A D | emfwr.cxx | 1208 Bitmap aBmp( pA->GetBitmapEx().GetBitmap() ); in ImplWrite() local 1213 aBmp.Replace( aMsk, COL_WHITE ); in ImplWrite() 1216 …ImplWriteBmpRecord( aBmp, pA->GetPoint(), maVDev.PixelToLogic( aBmp.GetSizePixel() ), WIN_SRCAND ); in ImplWrite() 1219 ImplWriteBmpRecord( aBmp, pA->GetPoint(), aBmp.GetSizePixel(), WIN_SRCCOPY ); in ImplWrite() 1226 Bitmap aBmp( pA->GetBitmapEx().GetBitmap() ); in ImplWrite() local 1231 aBmp.Replace( aMsk, COL_WHITE ); in ImplWrite() 1234 ImplWriteBmpRecord( aBmp, pA->GetPoint(), pA->GetSize(), WIN_SRCAND ); in ImplWrite() 1237 ImplWriteBmpRecord( aBmp, pA->GetPoint(), pA->GetSize(), WIN_SRCCOPY ); in ImplWrite() 1246 Bitmap aBmp( aBmpEx.GetBitmap() ); in ImplWrite() local 1251 aBmp.Replace( aMsk, COL_WHITE ); in ImplWrite() [all …]
|
H A D | wmfwr.cxx | 1415 Bitmap aBmp( pA->GetBitmapEx().GetBitmap() ); in WriteRecords() local 1420 aBmp.Replace( aMsk, COL_WHITE ); in WriteRecords() 1423 WMFRecord_StretchDIB( pA->GetPoint(), aBmp.GetSizePixel(), aBmp, W_SRCAND ); in WriteRecords() 1426 WMFRecord_StretchDIB( pA->GetPoint(), aBmp.GetSizePixel(), aBmp ); in WriteRecords() 1433 Bitmap aBmp( pA->GetBitmapEx().GetBitmap() ); in WriteRecords() local 1438 aBmp.Replace( aMsk, COL_WHITE ); in WriteRecords() 1441 WMFRecord_StretchDIB( pA->GetPoint(), pA->GetSize(), aBmp, W_SRCAND ); in WriteRecords() 1444 WMFRecord_StretchDIB( pA->GetPoint(), pA->GetSize(), aBmp ); in WriteRecords() 1453 Bitmap aBmp( aBmpEx.GetBitmap() ); in WriteRecords() local 1458 aBmp.Replace( aMsk, COL_WHITE ); in WriteRecords() [all …]
|
/trunk/main/filter/source/graphicfilter/eras/ |
H A D | eras.cxx | 92 Bitmap aBmp; in WriteRAS() local 107 aBmp = aBmpEx.GetBitmap(); in WriteRAS() 109 if ( aBmp.GetBitCount() == 4 ) in WriteRAS() 110 aBmp.Convert( BMP_CONVERSION_8BIT_COLORS ); in WriteRAS() 112 mnDepth = aBmp.GetBitCount(); in WriteRAS() 117 mpAcc = aBmp.AcquireReadAccess(); in WriteRAS() 129 aBmp.ReleaseAccess( mpAcc ); in WriteRAS()
|
/trunk/main/vcl/test/ |
H A D | canvasbitmaptest.cxx | 959 test( aBmp.IsTransparent() == false, in Paint() 961 test( aBmp.GetSizePixel() == Size(10,10), in Paint() 963 test( aBmp.GetBitCount() == 8, in Paint() 978 aBmp.GetBitmap().ReleaseAccess(pBmpAcc); in Paint() 983 aBmp = vcl::unotools::bitmapExFromXBitmap(xTestBmp); in Paint() 984 test( aBmp.IsTransparent() == TRUE, in Paint() 986 test( aBmp.IsAlpha() == TRUE, in Paint() 988 test( aBmp.GetSizePixel() == Size(10,10), in Paint() 990 test( aBmp.GetBitCount() == 24, in Paint() 1014 aBmp.GetAlpha().ReleaseAccess(pAlphaAcc); in Paint() [all …]
|
/trunk/main/filter/source/graphicfilter/ipict/ |
H A D | ipict.cxx | 1690 Bitmap aBmp; in ReadData() local 1694 pVirDev->DrawBitmap(aDestRect.TopLeft(),aDestRect.GetSize(),aBmp); in ReadData() 1698 Bitmap aBmp; in ReadData() local 1702 pVirDev->DrawBitmap(aDestRect.TopLeft(),aDestRect.GetSize(),aBmp); in ReadData() 1715 Bitmap aBmp; in ReadData() local 1719 pVirDev->DrawBitmap(aDestRect.TopLeft(),aDestRect.GetSize(),aBmp); in ReadData() 1723 Bitmap aBmp; in ReadData() local 1727 pVirDev->DrawBitmap(aDestRect.TopLeft(),aDestRect.GetSize(),aBmp); in ReadData() 1731 Bitmap aBmp; in ReadData() local 1735 pVirDev->DrawBitmap(aDestRect.TopLeft(),aDestRect.GetSize(),aBmp); in ReadData() [all …]
|
/trunk/main/svx/source/dialog/ |
H A D | _contdlg.cxx | 193 Bitmap aBmp; in CreateAutoContour() local 226 aBmp = aVDev.GetBitmap( Point(), rSizePix ); in CreateAutoContour() 227 aBmp.Convert( BMP_CONVERSION_1BIT_THRESHOLD ); in CreateAutoContour() 231 aBmp = rGraphic.GetBitmapEx().GetMask(); in CreateAutoContour() 234 aBmp = rGraphic.GetBitmap(); in CreateAutoContour() 258 aBmp = aVDev.GetBitmap( aPt, aSizePix ); in CreateAutoContour() 264 aBmp.SetPrefSize( rGraphic.GetPrefSize() ); in CreateAutoContour() 265 aBmp.SetPrefMapMode( rGraphic.GetPrefMapMode() ); in CreateAutoContour() 1075 Bitmap aBmp( aGraphic.GetBitmap() ); in IMPL_LINK() local 1078 aMask = aBmp.CreateMask( rColor, nTol ); in IMPL_LINK() [all …]
|
/trunk/main/sfx2/source/doc/ |
H A D | graphhelp.cxx | 253 Bitmap aBmp( aVDev.GetBitmap( aNullPt, aVDev.GetOutputSizePixel() ) ); in mergeBitmaps_Impl() local 254 aBmp.Convert( BMP_CONVERSION_24BIT ); in mergeBitmaps_Impl() 257 rReturn = aBmp; in mergeBitmaps_Impl() 274 rReturn = BitmapEx( aBmp, aVDev.GetBitmap( aNullPt, aVDev.GetOutputSizePixel() ) ); in mergeBitmaps_Impl() 364 Bitmap aBmp( aVDev.GetBitmap( aNullPt, aVDev.GetOutputSizePixel() ) ); in createThumb_Impl() local 367 if ( aBmp.GetBitCount() != 24 ) in createThumb_Impl() 368 aBmp.Convert( BMP_CONVERSION_24BIT ); in createThumb_Impl() 370 rBmpEx = BitmapEx( aBmp ); in createThumb_Impl()
|
/trunk/main/editeng/source/items/ |
H A D | bulitem.cxx | 182 Bitmap aBmp; in SvxBulletItem() local 187 ReadDIB(aBmp, rStrm, true); in SvxBulletItem() 196 if( aBmp.IsEmpty() ) in SvxBulletItem() 202 pGraphicObject = new GraphicObject( aBmp ); in SvxBulletItem() 390 const Bitmap aBmp( pGraphicObject->GetGraphic().GetBitmap() ); in Store() local 391 sal_uLong nBytes = aBmp.GetSizeBytes(); in Store() 394 WriteDIB(aBmp, rStrm, false, true); in Store()
|
/trunk/main/svtools/workben/ |
H A D | svdem.cxx | 71 Bitmap aBmp; member in ShowBitmap 265 aBmp( rBmp ) in ShowBitmap() 709 Bitmap aBmp; in MyWin() local 710 aBox.InsertItem( 1, aBmp ); in MyWin() 711 aBox.InsertItem( 2, aBmp ); in MyWin() 712 aBox.InsertItem( 3, aBmp ); in MyWin() 713 aBox.InsertItem( 4, aBmp ); in MyWin() 715 aBox.InsertItem( 5, aBmp ); in MyWin() 716 aBox.InsertItem( 6, aBmp ); in MyWin() 717 aBox.InsertItem( 7, aBmp ); in MyWin() [all …]
|
/trunk/main/svx/source/xoutdev/ |
H A D | xattrbmp.cxx | 158 Bitmap aBmp; in XFillBitmapItem() local 160 ReadDIB(aBmp, rIn, true); in XFillBitmapItem() 161 maGraphicObject = Graphic(aBmp); in XFillBitmapItem() 178 Bitmap aBmp; in XFillBitmapItem() local 180 ReadDIB(aBmp, rIn, true); in XFillBitmapItem() 181 maGraphicObject = Graphic(aBmp); in XFillBitmapItem()
|
/trunk/main/filter/source/graphicfilter/etiff/ |
H A D | etiff.cxx | 178 Bitmap aBmp; in WriteTIFF() local 198 aBmp = rAnimationBitmap.aBmpEx.GetBitmap(); in WriteTIFF() 199 mpAcc = aBmp.AcquireReadAccess(); in WriteTIFF() 202 mnBitsPerPixel = aBmp.GetBitCount(); in WriteTIFF() 211 const MapMode aMapMode( aBmp.GetPrefMapMode() ); in WriteTIFF() 228 aBmp.ReleaseAccess( mpAcc ); in WriteTIFF()
|
/trunk/main/filter/source/graphicfilter/ipcd/ |
H A D | ipcd.cxx | 97 Bitmap aBmp; in ReadPCD() local 157 aBmp = Bitmap( Size( nBMPWidth, nBMPHeight ), 24 ); in ReadPCD() 158 mpAcc = aBmp.AcquireWriteAccess(); in ReadPCD() 164 aBmp.ReleaseAccess( mpAcc ), mpAcc = NULL; in ReadPCD() 165 rGraphic = aBmp; in ReadPCD()
|
/trunk/main/filter/source/graphicfilter/ipcx/ |
H A D | ipcx.cxx | 39 Bitmap aBmp; member in PCXReader 116 aBmp = Bitmap( Size( nWidth, nHeight ), nDestBitsPerPixel ); in ReadPCX() 117 pAcc = aBmp.AcquireWriteAccess(); in ReadPCX() 156 aBmp.ReleaseAccess( pAcc ), pAcc = NULL; in ReadPCX() 157 rGraphic = aBmp; in ReadPCX()
|
/trunk/main/cui/source/dialogs/ |
H A D | hlmarkwn.cxx | 401 Image aBmp( VCLUnoHelper::GetBitmap( aXBitmap ).GetBitmap(), aMaskColor ); in FillTree() local 404 aBmp, aBmp, in FillTree() 408 maLbTree.SetExpandedEntryBmp( pEntry, aBmp, BMP_COLOR_HIGHCONTRAST ); in FillTree() 409 maLbTree.SetCollapsedEntryBmp( pEntry, aBmp, BMP_COLOR_HIGHCONTRAST ); in FillTree()
|
/trunk/main/filter/source/graphicfilter/epbm/ |
H A D | epbm.cxx | 96 Bitmap aBmp = aBmpEx.GetBitmap(); in WritePBM() local 97 aBmp.Convert( BMP_CONVERSION_1BIT_THRESHOLD ); in WritePBM() 102 mpAcc = aBmp.AcquireReadAccess(); in WritePBM() 108 aBmp.ReleaseAccess( mpAcc ); in WritePBM()
|