| /AOO41X/main/vcl/source/gdi/ |
| H A D | image.cxx | 81 BitmapEx aBmpEx; in Image() local 86 aBmpEx = BitmapEx( ResId( (RSHEADER_TYPE*)pResMgr->GetClass(), *pResMgr ) ); in Image() 92 if( !aBmpEx.IsEmpty() && aBmpEx.GetTransparentType() == TRANSPARENT_NONE ) in Image() 95 aBmpEx = BitmapEx( aBmpEx.GetBitmap(), aMaskBitmap ); in Image() 103 if( !aBmpEx.IsEmpty() && aBmpEx.GetTransparentType() == TRANSPARENT_NONE ) in Image() 106 aBmpEx = BitmapEx( aBmpEx.GetBitmap(), aMaskColor ); in Image() 111 if( ! aBmpEx.IsEmpty() ) in Image() 112 ImplInit( aBmpEx ); in Image() 154 const BitmapEx aBmpEx( rBitmap, rMaskBitmap ); in Image() local 156 ImplInit( aBmpEx ); in Image() [all …]
|
| H A D | animate.cxx | 58 sal_uInt32 nCrc = aBmpEx.GetChecksum(); in GetChecksum() 282 nSizeBytes += pAnimBmp->aBmpEx.GetSizeBytes(); in GetSizeBytes() 426 ( (AnimationBitmap*) maList.GetObject( 0 ) )->aBmpEx.Draw( pOut, rDestPt, rDestSz ); in Draw() 428 pObj->aBmpEx.Draw( pOut, rDestPt, rDestSz ); in Draw() 527 maBitmapEx = ( (AnimationBitmap*) maList.GetObject( mnPos ) )->aBmpEx; in IMPL_LINK() 587 maBitmapEx = rStepBmp.aBmpEx; in Insert() 618 maBitmapEx = rNewAnimationBitmap.aBmpEx; in Replace() 651 bRet = ( ( AnimationBitmap*) pStepBmp )->aBmpEx.Convert( eConversion ); in Convert() 674 bRet = ( ( AnimationBitmap*) pStepBmp )->aBmpEx.ReduceColors( nNewColorCount, eReduce ); in ReduceColors() 697 bRet = ( ( AnimationBitmap*) pStepBmp )->aBmpEx.Invert(); in Invert() [all …]
|
| H A D | print2.cxx | 184 BitmapEx aBmpEx; in ImplConvertTransparentAction() local 189 aBmpEx = static_cast<const MetaBmpExAction&>(rAct).GetBitmapEx(); in ImplConvertTransparentAction() 193 aBmpEx = static_cast<const MetaBmpExScaleAction&>(rAct).GetBitmapEx(); in ImplConvertTransparentAction() 197 aBmpEx = static_cast<const MetaBmpExScaleAction&>(rAct).GetBitmapEx(); in ImplConvertTransparentAction() 207 Bitmap aBmp( aBmpEx.GetBitmap() ); in ImplConvertTransparentAction() 208 if( !aBmpEx.IsAlpha() ) in ImplConvertTransparentAction() 230 aBmp.Replace( aBmpEx.GetMask(), aBgColor ); in ImplConvertTransparentAction() 235 aBmp.Replace( aBmpEx.GetMask(), aActualColor ); in ImplConvertTransparentAction() 242 aBmp.Blend(aBmpEx.GetAlpha(),aBgColor); in ImplConvertTransparentAction() 1444 BitmapEx aBmpEx( rBmpEx ); in GetDownsampledBitmapEx() local [all …]
|
| H A D | outdev6.cxx | 815 BitmapEx aBmpEx; in ImplDrawBitmapWallpaper() local 827 aBmpEx = *pCached; in ImplDrawBitmapWallpaper() 829 aBmpEx = rWallpaper.GetBitmap(); in ImplDrawBitmapWallpaper() 831 const long nBmpWidth = aBmpEx.GetSizePixel().Width(); in ImplDrawBitmapWallpaper() 832 const long nBmpHeight = aBmpEx.GetSizePixel().Height(); in ImplDrawBitmapWallpaper() 833 const sal_Bool bTransparent = aBmpEx.IsTransparent(); in ImplDrawBitmapWallpaper() 847 aVDev.DrawBitmapEx( Point(), aBmpEx ); in ImplDrawBitmapWallpaper() 848 aBmpEx = aVDev.GetBitmap( Point(), aVDev.GetOutputSizePixel() ); in ImplDrawBitmapWallpaper() 898 aBmpEx = rWallpaper.GetBitmap(); in ImplDrawBitmapWallpaper() 899 aBmpEx.Scale( aSize ); in ImplDrawBitmapWallpaper() [all …]
|
| H A D | outdev2.cxx | 1045 BitmapEx aBmpEx( rBitmapEx ); in ImplDrawBitmapEx() local 1052 … Bitmap aColorBmp( aBmpEx.GetSizePixel(), ( mnDrawMode & DRAWMODE_GHOSTEDBITMAP ) ? 4 : 1 ); in ImplDrawBitmapEx() 1062 if( aBmpEx.IsAlpha() ) in ImplDrawBitmapEx() 1069 Bitmap aMask( aBmpEx.GetAlpha().GetBitmap() ); in ImplDrawBitmapEx() 1071 aBmpEx = BitmapEx( aColorBmp, aMask ); in ImplDrawBitmapEx() 1075 aBmpEx = BitmapEx( aColorBmp, aBmpEx.GetMask() ); in ImplDrawBitmapEx() 1078 else if( !!aBmpEx ) in ImplDrawBitmapEx() 1081 aBmpEx.Convert( BMP_CONVERSION_8BIT_GREYS ); in ImplDrawBitmapEx() 1084 aBmpEx.Convert( BMP_CONVERSION_GHOSTED ); in ImplDrawBitmapEx() 1093 mpMetaFile->AddAction( new MetaBmpExAction( rDestPt, aBmpEx ) ); in ImplDrawBitmapEx() [all …]
|
| /AOO41X/main/svx/source/dialog/ |
| H A D | grfflt.cxx | 73 BitmapEx aBmpEx( rGraphic.GetBitmapEx() ); in ExecuteGrfFilterSlot() local 75 if( aBmpEx.Invert() ) in ExecuteGrfFilterSlot() 76 aGraphic = aBmpEx; in ExecuteGrfFilterSlot() 98 BitmapEx aBmpEx( rGraphic.GetBitmapEx() ); in ExecuteGrfFilterSlot() local 100 if( aBmpEx.Filter( BMP_FILTER_SMOOTH ) ) in ExecuteGrfFilterSlot() 101 aGraphic = aBmpEx; in ExecuteGrfFilterSlot() 123 BitmapEx aBmpEx( rGraphic.GetBitmapEx() ); in ExecuteGrfFilterSlot() local 125 if( aBmpEx.Filter( BMP_FILTER_SHARPEN ) ) in ExecuteGrfFilterSlot() 126 aGraphic = aBmpEx; in ExecuteGrfFilterSlot() 148 BitmapEx aBmpEx( rGraphic.GetBitmapEx() ); in ExecuteGrfFilterSlot() local [all …]
|
| H A D | _bmpmask.cxx | 772 BitmapEx aBmpEx; in ImpMaskTransparent() local 778 aBmpEx = BitmapEx( rBitmapEx.GetBitmap(), aMask ); in ImpMaskTransparent() 781 return aBmpEx; in ImpMaskTransparent() 798 aAnimBmp.aBmpEx = Mask( aAnimBmp.aBmpEx ).GetBitmapEx(); in ImpMask() 1022 const BitmapEx aBmpEx( Mask( pAct->GetBitmapEx() ).GetBitmapEx() ); in ImpMask() local 1024 pAct = new MetaBmpExAction( pAct->GetPoint(), aBmpEx ); in ImpMask() 1032 const BitmapEx aBmpEx( Mask( pAct->GetBitmapEx() ).GetBitmapEx() ); in ImpMask() local 1034 pAct = new MetaBmpExScaleAction( pAct->GetPoint(), pAct->GetSize(), aBmpEx ); in ImpMask() 1042 const BitmapEx aBmpEx( Mask( pAct->GetBitmapEx() ).GetBitmapEx() ); in ImpMask() local 1045 … pAct->GetSrcPoint(), pAct->GetSrcSize(), aBmpEx ); in ImpMask() [all …]
|
| /AOO41X/main/cui/source/dialogs/ |
| H A D | cuigrfflt.cxx | 399 BitmapEx aBmpEx( rGraphic.GetBitmapEx() ); in GraphicFilterDialog() local 401 if( aBmpEx.Scale( aGrfSize, BMP_SCALE_INTERPOLATE ) ) in GraphicFilterDialog() 402 maGraphic = aBmpEx; in GraphicFilterDialog() 505 BitmapEx aBmpEx( rGraphic.GetBitmapEx() ); in GetFilteredGraphic() local 507 if( aBmpEx.Filter( BMP_FILTER_MOSAIC, &aParam ) ) in GetFilteredGraphic() 510 aBmpEx.Filter( BMP_FILTER_SHARPEN ); in GetFilteredGraphic() 512 aRet = aBmpEx; in GetFilteredGraphic() 567 BitmapEx aBmpEx( rGraphic.GetBitmapEx() ); in GetFilteredGraphic() local 569 if( aBmpEx.Filter( BMP_FILTER_SOLARIZE, &aParam ) ) in GetFilteredGraphic() 572 aBmpEx.Invert(); in GetFilteredGraphic() [all …]
|
| /AOO41X/main/sc/source/ui/sidebar/ |
| H A D | CellBorderUpdater.cxx | 44 BitmapEx aBmpEx( aImg.GetBitmapEx() ); in UpdateCellBorder() local 45 Bitmap aBmp( aBmpEx.GetBitmap() ); in UpdateCellBorder() 54 if( aBmpEx.IsAlpha() ) in UpdateCellBorder() 55 pMskAcc = ( aMsk = aBmpEx.GetAlpha().GetBitmap() ).AcquireWriteAccess(); in UpdateCellBorder() 56 else if( aBmpEx.IsTransparent() ) in UpdateCellBorder() 57 pMskAcc = ( aMsk = aBmpEx.GetMask() ).AcquireWriteAccess(); in UpdateCellBorder() 114 if( aBmpEx.IsAlpha() ) in UpdateCellBorder() 115 aBmpEx = BitmapEx( aBmp, AlphaMask( aMsk ) ); in UpdateCellBorder() 116 else if( aBmpEx.IsTransparent() ) in UpdateCellBorder() 117 aBmpEx = BitmapEx( aBmp, aMsk ); in UpdateCellBorder() [all …]
|
| /AOO41X/main/svtools/source/graphic/ |
| H A D | provider.cxx | 257 BitmapEx aBmpEx; in implLoadBitmap() local 267 aBmpEx = BitmapEx( aBmp, aMask ); in implLoadBitmap() 270 aBmpEx = BitmapEx( aBmp ); in implLoadBitmap() 272 if( !aBmpEx.IsEmpty() ) in implLoadBitmap() 276 pUnoGraphic->init( aBmpEx ); in implLoadBitmap() 302 BitmapEx aBmpEx; in implLoadResource() local 311 aBmpEx = BitmapEx( aResId ); in implLoadResource() 321 aBmpEx = aImage.GetBitmapEx(); in implLoadResource() 336 aBmpEx = aImage.GetBitmapEx(); in implLoadResource() 340 aBmpEx = aImageList.GetAsHorizontalStrip(); in implLoadResource() [all …]
|
| /AOO41X/main/svx/source/tbxctrls/ |
| H A D | tbxcolorupdate.cxx | 84 BitmapEx aBmpEx( aImage.GetBitmapEx() ); in Update() local 85 Bitmap aBmp( aBmpEx.GetBitmap() ); in Update() 96 if( aBmpEx.IsAlpha() ) in Update() 97 pMskAcc = ( aMsk = aBmpEx.GetAlpha().GetBitmap() ).AcquireWriteAccess(); in Update() 98 else if( aBmpEx.IsTransparent() ) in Update() 99 pMskAcc = ( aMsk = aBmpEx.GetMask() ).AcquireWriteAccess(); in Update() 171 if( aBmpEx.IsAlpha() ) in Update() 172 aBmpEx = BitmapEx( aBmp, AlphaMask( aMsk ) ); in Update() 173 else if( aBmpEx.IsTransparent() ) in Update() 174 aBmpEx = BitmapEx( aBmp, aMsk ); in Update() [all …]
|
| /AOO41X/main/slideshow/source/engine/shapes/ |
| H A D | gdimtftools.cxx | 156 ::BitmapEx aBmpEx( aGraphic.GetBitmapEx() ); in getMtf() 159 aBmpEx ) ); in getMtf() 160 aMtf.SetPrefSize( aBmpEx.GetPrefSize() ); in getMtf() 161 aMtf.SetPrefMapMode( aBmpEx.GetPrefMapMode() ); in getMtf() 398 rAnimBmp.aBmpEx); in getAnimationFromGraphic() 399 Bitmap aMask = rAnimBmp.aBmpEx.GetMask(); in getAnimationFromGraphic() 423 const Bitmap aMask(rAnimBmp.aBmpEx.GetMask()); in getAnimationFromGraphic() 424 const Bitmap aContent(rAnimBmp.aBmpEx.GetBitmap()); in getAnimationFromGraphic() 446 rAnimBmp.aBmpEx); in getAnimationFromGraphic() 453 rAnimBmp.aBmpEx); in getAnimationFromGraphic() [all …]
|
| /AOO41X/main/cppcanvas/source/wrapper/ |
| H A D | vclfactory.cxx | 299 BitmapEx aBmpEx; in createAnimatedSprite() local 301 aBmpEx.SetSizePixel( rAnim.GetDisplaySizePixel() ); in createAnimatedSprite() 303 aBmpEx.Erase( ::Color( 255, 0,0,0 ) ); // clear alpha channel in createAnimatedSprite() 304 aRestoreBuffer = aBmpEx; in createAnimatedSprite() 320 aBmpEx.Erase( ::Color( 255, 0,0,0 ) ); in createAnimatedSprite() 325 aBmpEx = aRestoreBuffer; in createAnimatedSprite() 333 aBmpEx.CopyPixel( Rectangle( rAnimBmp.aPosPix, in createAnimatedSprite() 337 &rAnimBmp.aBmpEx ); in createAnimatedSprite() 342 aRestoreBuffer = aBmpEx; in createAnimatedSprite() 346 aBmpEx); in createAnimatedSprite()
|
| /AOO41X/main/svx/source/gallery2/ |
| H A D | galobj.cxx | 111 BitmapEx aBmpEx( rGraphic.GetBitmapEx() ); in CreateThumb() local 112 Size aBmpSize( aBmpEx.GetSizePixel() ); in CreateThumb() 118 if( aBmpEx.GetPrefMapMode().GetMapUnit() != MAP_PIXEL && in CreateThumb() 119 aBmpEx.GetPrefSize().Width() > 0 && in CreateThumb() 120 aBmpEx.GetPrefSize().Height() > 0 ) in CreateThumb() 122 …Size aLogSize( OutputDevice::LogicToLogic( aBmpEx.GetPrefSize(), aBmpEx.GetPrefMapMode(), MAP_100T… in CreateThumb() 134 aBmpEx.SetSizePixel( aBmpSize, BMP_SCALE_BESTQUALITY ); in CreateThumb() 139 aThumbBmp = aBmpEx; in CreateThumb() 422 const BitmapEx aBmpEx( GAL_RESID( nId ) ); in GetThumbBmp() local 424 return aBmpEx; in GetThumbBmp()
|
| H A D | galmisc.cxx | 88 BitmapEx aBmpEx( GAL_RESID( nId ) ); in GalleryResGetBitmapEx() local 90 if( !aBmpEx.IsTransparent() ) in GalleryResGetBitmapEx() 91 aBmpEx = BitmapEx( aBmpEx.GetBitmap(), COL_LIGHTMAGENTA ); in GalleryResGetBitmapEx() 93 return aBmpEx; in GalleryResGetBitmapEx()
|
| /AOO41X/main/vcl/inc/vcl/ |
| H A D | animate.hxx | 64 BitmapEx aBmpEx; member 75 aBmpEx ( rBmpEx ), in AnimationBitmap() 84 return( rAnimBmp.aBmpEx == aBmpEx && in operator ==() 101 rAnimBmp.aBmpEx.IsEqual( aBmpEx ) ); in IsEqual()
|
| /AOO41X/main/framework/source/fwe/classes/ |
| H A D | imagewrapper.cxx | 89 BitmapEx aBmpEx( m_aImage.GetBitmapEx() ); in getMaskDIB() local 91 if ( aBmpEx.IsAlpha() ) in getMaskDIB() 94 WriteDIB(aBmpEx.GetAlpha().GetBitmap(), aMem, false, true); in getMaskDIB() 97 else if ( aBmpEx.IsTransparent() ) in getMaskDIB() 100 WriteDIB(aBmpEx.GetMask(), aMem, false, true); in getMaskDIB()
|
| /AOO41X/main/svtools/source/filter/wmf/ |
| H A D | winmtf.cxx | 1639 BitmapEx aBmpEx( rBitmap ); in ImplDrawBitmap() local 1663 if ( aBmpEx.IsTransparent() ) in ImplDrawBitmap() 1669 aBmpEx = BitmapEx( rBitmap.GetBitmap(), aMask ); in ImplDrawBitmap() 1672 aBmpEx = BitmapEx( rBitmap.GetBitmap(), aMask ); in ImplDrawBitmap() 1674 if ( aBmpEx.IsTransparent() ) in ImplDrawBitmap() 1675 mpGDIMetaFile->AddAction( new MetaBmpExScaleAction( rPos, rSize, aBmpEx ) ); in ImplDrawBitmap() 1677 mpGDIMetaFile->AddAction( new MetaBmpScaleAction( rPos, rSize, aBmpEx.GetBitmap() ) ); in ImplDrawBitmap() 1753 BitmapEx aBmpEx( pSave2->aBmp, aMask ); in ResolveBitmapActions() local 1754 ImplDrawBitmap( aPos, aSize, aBmpEx ); in ResolveBitmapActions() 1764 BitmapEx aBmpEx( pSave2->aBmp, aMask ); in ResolveBitmapActions() local [all …]
|
| /AOO41X/main/vcl/aqua/source/app/ |
| H A D | salinst.cxx | 1243 BitmapEx aBmpEx( rImage.GetBitmapEx() ); in CreateCGImage() local 1244 Bitmap aBmp( aBmpEx.GetBitmap() ); in CreateCGImage() 1256 if( ! (aBmpEx.IsAlpha() || aBmpEx.IsTransparent() ) ) in CreateCGImage() 1258 else if( aBmpEx.IsAlpha() ) in CreateCGImage() 1260 AlphaMask aAlphaMask( aBmpEx.GetAlpha() ); in CreateCGImage() 1268 else if( aBmpEx.GetTransparentType() == TRANSPARENT_BITMAP ) in CreateCGImage() 1270 Bitmap aMask( aBmpEx.GetMask() ); in CreateCGImage() 1277 else if( aBmpEx.GetTransparentType() == TRANSPARENT_COLOR ) in CreateCGImage() 1279 Color aTransColor( aBmpEx.GetTransparentColor() ); in CreateCGImage()
|
| /AOO41X/main/filter/source/graphicfilter/egif/ |
| H A D | egif.cxx | 139 BitmapEx aBmpEx; in WriteGIF() local 142 aBmpEx = rGraphic.GetBitmapEx(); in WriteGIF() 144 aBmpEx = BitmapEx( rGraphic.GetBitmap() ); in WriteGIF() 153 WriteGlobalHeader( aBmpEx.GetSizePixel() ); in WriteGIF() 156 WriteBitmapEx( aBmpEx, Point(), bGrafTrans ); in WriteGIF() 221 WriteBitmapEx( rAnimBmp.aBmpEx, rAnimBmp.aPosPix, sal_True, in WriteAnimation()
|
| /AOO41X/main/canvas/source/vcl/ |
| H A D | canvashelper.cxx | 717 BitmapEx aBmpEx( tools::bitmapExFromXBitmap(xBitmap) ); in implDrawBitmap() local 745 aBmpEx ); in implDrawBitmap() 749 aBmpEx ); in implDrawBitmap() 768 ::Size aBmpSize( aBmpEx.GetSizePixel() ); in implDrawBitmap() 806 pGrfObj.reset( new GraphicObject( aBmpEx ) ); in implDrawBitmap() 826 aBmpEx = tools::transformBitmap( aBmpEx, in implDrawBitmap() 831 pGrfObj.reset( new GraphicObject( aBmpEx ) ); in implDrawBitmap() 838 aBmpSize = aBmpEx.GetSizePixel(); in implDrawBitmap()
|
| /AOO41X/main/svx/source/unodraw/ |
| H A D | UnoGraphicExporter.cxx | 222 BitmapEx aBmpEx; in GetBitmapFromMetaFile() local 250 aBmpEx = convertMetafileToBitmapEx(rMtf, aRange, nMaximumQuadraticPixels); in GetBitmapFromMetaFile() 291 aBmpEx = BitmapEx(aGraphic.GetBitmap(aParameters)); in GetBitmapFromMetaFile() 292 aBmpEx.SetPrefMapMode( rMtf.GetPrefMapMode() ); in GetBitmapFromMetaFile() 293 aBmpEx.SetPrefSize( rMtf.GetPrefSize() ); in GetBitmapFromMetaFile() 296 return aBmpEx; in GetBitmapFromMetaFile() 901 BitmapEx aBmpEx( aGraphic.GetBitmapEx() ); in GetGraphic() local 903 … aBmpEx.Scale( Size( rSettings.mnWidth, rSettings.mnHeight ), BMP_SCALE_LANCZOS ); in GetGraphic() 904 aGraphic = aBmpEx; in GetGraphic()
|
| /AOO41X/main/drawinglayer/source/primitive2d/ |
| H A D | graphicprimitivehelper2d.cxx | 142 aVirtualDevice.DrawBitmapEx(rAnimBitmap.aPosPix, rAnimBitmap.aBmpEx); in animatedBitmapExPreparator() 143 Bitmap aMask = rAnimBitmap.aBmpEx.GetMask(); in animatedBitmapExPreparator() 163 const Bitmap aMask(rAnimBitmap.aBmpEx.GetMask()); in animatedBitmapExPreparator() 164 const Bitmap aContent(rAnimBitmap.aBmpEx.GetBitmap()); in animatedBitmapExPreparator() 185 aVirtualDevice.DrawBitmapEx(rAnimBitmap.aPosPix, rAnimBitmap.aBmpEx); in animatedBitmapExPreparator() 190 aVirtualDevice.DrawBitmapEx(rAnimBitmap.aPosPix, rAnimBitmap.aBmpEx); in animatedBitmapExPreparator() 191 … aVirtualDeviceMask.DrawBitmap(rAnimBitmap.aPosPix, rAnimBitmap.aBmpEx.GetMask()); in animatedBitmapExPreparator()
|
| /AOO41X/main/avmedia/source/viewer/ |
| H A D | mediawindow.cxx | 554 const BitmapEx aBmpEx( AVMEDIA_RESID( AVMEDIA_BMP_AUDIOLOGO ) ); in grabFrame() local 555 apGraphic.reset( new Graphic( aBmpEx ) ); in grabFrame() 562 const BitmapEx aBmpEx( AVMEDIA_RESID( AVMEDIA_BMP_EMPTYLOGO ) ); in grabFrame() local 563 apGraphic.reset( new Graphic( aBmpEx ) ); in grabFrame()
|
| /AOO41X/main/sd/source/ui/view/ |
| H A D | sdview3.cxx | 1275 BitmapEx aBmpEx; in InsertData() local 1278 aDataHelper.GetBitmapEx(FORMAT_BITMAP, aBmpEx); in InsertData() 1280 if(aBmpEx.IsEmpty()) in InsertData() 1287 aBmpEx = aGraphic.GetBitmapEx(); in InsertData() 1291 aBmpEx = aGraphic.GetBitmapEx(); in InsertData() 1295 aBmpEx = aGraphic.GetBitmapEx(); in InsertData() 1299 if(!aBmpEx.IsEmpty()) in InsertData() 1320 Size aImageMapSize(aBmpEx.GetPrefSize()); in InsertData() 1323 InsertGraphic( aBmpEx, mnAction, aInsertPos, NULL, pImageMap ); in InsertData()
|